logging to stdout/stderr causes huge container log file
Hi, With ceph 15.2.5 octopus, mon, mgd and rgw dump loggings on debug level to stdout/stderr. It causes huge container log file (/var/lib/docker/containers/<ID>/<ID>-json.log). Is there any way to stop dumping logs or change the logging level? BTW, I tried "ceph config set <service> log_to_stderr false". It doesn't help. Thanks! Tony
Any comments? Thanks! Tony
-----Original Message----- From: Tony Liu <tonyliu0592@hotmail.com> Sent: Tuesday, December 29, 2020 5:22 PM To: ceph-users@ceph.io Subject: [ceph-users] logging to stdout/stderr causes huge container log file
Hi,
With ceph 15.2.5 octopus, mon, mgd and rgw dump loggings on debug level to stdout/stderr. It causes huge container log file (/var/lib/docker/containers/<ID>/<ID>-json.log). Is there any way to stop dumping logs or change the logging level?
BTW, I tried "ceph config set <service> log_to_stderr false". It doesn't help.
Thanks!
Tony _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
If you are using ceph-container images you should update your image. This feature has been introduced in v5.0.5: https://github.com/ceph/ceph-container/releases/tag/v5.0.5 On Wed, Jan 6, 2021 at 1:22 AM Tony Liu <tonyliu0592@hotmail.com> wrote:
Any comments?
Thanks! Tony
-----Original Message----- From: Tony Liu <tonyliu0592@hotmail.com> Sent: Tuesday, December 29, 2020 5:22 PM To: ceph-users@ceph.io Subject: [ceph-users] logging to stdout/stderr causes huge container log file
Hi,
With ceph 15.2.5 octopus, mon, mgd and rgw dump loggings on debug level to stdout/stderr. It causes huge container log file (/var/lib/docker/containers/<ID>/<ID>-json.log). Is there any way to stop dumping logs or change the logging level?
BTW, I tried "ceph config set <service> log_to_stderr false". It doesn't help.
Thanks!
Tony _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Seena Fallah
-
Tony Liu