On Wed, 2 Jan 2013, S?bastien Han wrote: > Hi all, > > I've been struggling with Ceph logging. > > As far as I saw we can log to syslog but we can't specify any > facility. So my question is: which facility does ceph use by default? LOG_USER is currently hard-coded. It would be pretty easy to make this configurable... LOG_DAEMON may also be a better default choice. > Second thing is, I'm sick of all those "log [INF]" messages from the > ceph-mon, like: > > Jan 2 13:27:07 ceph02 ceph-mon: 2013-01-02 13:27:07.749511 > 7f227b2fa700 0 log [INF] : pgmap v74529: 80 pgs: 80 active+clean; > 9753 MB data, 17012 MB used, 383 GB / 399 GB avail > > Is there a way to disable them? Which level is that? INFO? DEBUG? > > Ideally I'd like to disable all INFO logs, I only want to see ERROR logs. Not currently. This would be very simple to add. See mon/LogMonitor.cc: if (g_conf->mon_cluster_log_to_syslog) { syslog(clog_type_to_syslog_prio(le.type) | LOG_USER, "%s", s.c_str()); } We can just add a min log level configurable. Opened #3704. sage > > Thanks you in advance :-) > > -- > Regards, > S?bastien Han. > -- > 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 > > -- 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