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

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to