Logs in /var/log/messages despite log_to_stderr=false, log_to_file=true

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying get ceph to only log to /var/log/ceph/..., but logs are replicated in /var/log/messages, and I've been unable to disable that.

I followed https://docs.ceph.com/en/pacific/cephadm/operations/#disabling-logging-to-journald and set

ceph config set global log_to_file true
ceph config set global mon_cluster_log_to_file true
ceph config set global log_to_stderr false
ceph config set global mon_cluster_log_to_stderr false

(instructions also mention log_to_journald and mon_cluster_log_to_journald but apparently these are not valid names in pacific)

I suspect that logs in /var/log/messages come from stderr of containers because they are prefixed with "debug" (log_stderr_prefix?), but log_to_stderr seems to really be set to false:
$ ceph config show osd.4 log_to_stderr
false

Can anybody help?


Vlad
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux