Re: Reduce log verbosity

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

 



On Wed, 7 Aug 2013, Jean-Daniel BUSSY wrote:
> Hi all,
> 
> We have log aggregation on our ceph cluster and verbosity is a problem
> on the cluster log file at /etc/ceph/ceph.conf
> I got advice from some nice folk on IRC and I tried to use syslog and
> setup the log level to WARN but the INF logs are still pouring.
> I confirmed settings are changed in the admin socked and got these:
> 
>   "clog_to_syslog_level": "warn",
>   "clog_to_syslog_facility": "daemon",
>   "mon_cluster_log_to_syslog": "true",
>   "mon_cluster_log_to_syslog_level": "warn",
>   "mon_cluster_log_to_syslog_facility": "daemon",
>   "mon_cluster_log_file": "\/var\/log\/ceph\/ceph.log",
> 
> I guess I am missing some option flag or something. Any hint?

Currently the ceph.log gets the log messages unconditionally.  You can set 
mon_cluster_log_file to /dev/null so that only warn and higher goes to 
syslog?

And we should add a mon_cluster_log_level option :)

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux