[Pacemaker] syslog_priority ignored?

Martin Spuetz martin at spuetz.net
Thu Dec 30 08:18:07 UTC 2010


Hi,

On 28.12.2010 18:04, Dejan Muhamedagic wrote:
> 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?

I tried that but I still have messages in /var/log/messages, at least
messages from cibadmin (afaik).

syslog.conf:
> *.info;mail.none;news.none;authpriv.none;cron.none;local6.none          /var/log/messages
> # corosync
> local6.*                                                /var/log/corosync.log

corosync.conf:
> logging {
>         fileline: off
>         to_stderr: no
>         to_logfile: no
>         to_syslog: yes
>         syslog_facility: local6
>         debug: off
>         timestamp: off
> }

After I executed "crm configure show", in /var/log/messages:

> Dec 30 09:12:31 middleware-a cibadmin: [8060]: info: Invoked: cibadmin -Ql

Bug or feature?

Greetings
Martin




More information about the Pacemaker mailing list