New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low: Bump some log messages to notice #205
Conversation
I find it interesting that after being crucified for a decade for logging too much, the moment I turn things down people want it all back on again. The current policy is that messages like those you want turned up are not appropriate for syslog (which is why they are at 'info' or lower). People that want this level of detail are encouraged to specify a logfile in either corosync or /etc/sysconfig/pacemaker I will take another look, but most of these changes will probably get NACK'd. |
I expound on necessity anew about each message. In pacemaker-1.0, I'm monitoring the message of the following events during production run.
|
1 The logs you are looking for exist, but are from the lrmd and not appropriate for syslog. why, how long, which arguments - all the kinds of information you need to diagnose problems afterwards belong application logfiles (eg. /var/log/cluster.log) not syslog. 2.1 pacemakerd logs are a better source for this 3 There is a saying in english "No news, is good news".
but the normal starting/stopping of processes isn't something worthy of showing in syslog. 6 See 2.2 (apart from the bit about crmd logs) I'll follow up on the others shortly |
7 Ok. We can make that change. |
4 is very much an internal detail. You can still look for it, just enable logfiles and monitor that instead |
5 is again a debugging item. if you want to monitor updates to the cib, use the API - thats what its for. And again, if you really have to, you can still look for it, just enable logfiles and monitor that instead. |
Thank you for a reply and advice. I will watch application logfile.
|
I confirmed it. Thank you |
This request is a proposal patch.
Since the loglevel of some helpful log messages is info or debug, these are not outputted via syslog.
Therefore, bump up loglevel of these helpful log messeges to notice.