[Pacemaker] syslog_priority ignored?
Dejan Muhamedagic
dejanmm at fastmail.fm
Tue Dec 28 17:04:29 UTC 2010
Hi,
On Tue, Dec 28, 2010 at 02:29:22PM +0100, Martin Spuetz wrote:
> Hello,
>
> I don't know how to disable the flooding of syslog with messages of the
> various daemons.
>
> I only want warnings and errors in syslog.
Not a good idea. Your logs won't be useful in case you run into
problems. Why don't you use a separate syslog_facility such as
local6 and then redirect all pacemaker/corosync messages to a
separate log file?
Thanks,
Dejan
> I tried syslog_priority but
> it seems that this is only for the corosync daemon?!
>
> corosync.conf:
> > logging {
> > fileline: off
> > to_stderr: no
> > to_logfile: no
> > to_syslog: yes
> > syslog_facility: daemon
> > syslog_priority: warning
> > debug: off
> > timestamp: off
> > }
> >
> > service {
> > ver: 0
> > name: pacemaker
> > }
>
> But still
>
> > Dec 28 14:22:32 node-a stonithd: [5710]: info: G_main_add_SignalHandler: Added signal handler for signal 10
> [...]
> > Dec 28 14:22:32 node-a lrmd: [5712]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> > Dec 28 14:22:32 node-a cib: [5711]: info: Invoked: /usr/lib64/heartbeat/cib
> [...]
> > Dec 28 14:22:32 node-a cib: [5711]: info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest: /var/lib/heartbeat/crm/cib.xml.sig)
> > Dec 28 14:22:32 node-a lrmd: [5712]: info: G_main_add_SignalHandler: Added signal handler for signal 17
> > Dec 28 14:22:32 node-a lrmd: [5712]: info: enabling coredumps
> [...]
> > Dec 28 14:22:32 node-a crmd: [5715]: info: main: CRM Hg Version: da7075976b5ff0bee71074385f8fd02f296ec8a3
>
> and a lot more...
>
> Thank you for your help.
>
> Greetings,
> Martin
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list