[Pacemaker] Disable writing logs to system log /var/log/messages when using crm_resource, crmadmin, cibadmin, etc commands

Andrew Beekhof andrew at beekhof.net
Fri Nov 4 07:56:19 UTC 2011


On Fri, Nov 4, 2011 at 4:55 PM, Kashif <kashifjs at huawei.com> wrote:
> Hi Andrew,
>
>        Thanks for your response.
>
>        Can you please send me a sample configuration in syslog-ng.conf to
> do the same.

No, I don't do any filtering.

>
> ****************************************************************************
> ***********
> This e-mail and attachments contain confidential information from HUAWEI,
> which is intended only for the person or entity whose address is listed
> above. Any use of the information contained herein in any way (including,
> but not limited to, total or partial disclosure, reproduction, or
> dissemination) by persons other than the intended recipient's) is
> prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
> -----Original Message-----
> From: Andrew Beekhof [mailto:andrew at beekhof.net]
> Sent: Thursday, November 03, 2011 6:10 PM
> To: Kashif
> Subject: Re: Disable writing logs to system log /var/log/messages when using
> crm_resource, crmadmin, cibadmin, etc commands
>
> Please do try to use the mailing list.
> The standard way to do log filtering is to alter the syslog-ng configuration
>
> On Wed, Nov 2, 2011 at 8:30 PM, Kashif <kashifjs at huawei.com> wrote:
>> Hi Andrew,
>>
>>
>>
>>             Whenever i execute commands like crm_resource , crmadmin,
>> cibadmin , etc I, I observe that info logs are written to system log files
>> in /var/log/messages.
>>
>>
>>
>>             I am using SuSE11SP1 linux machine.
>>
>>
>>
>>             Is there a way to disable or stop writing such logs in system
>> log files (/var/log/messages).
>>
>>
>>
>> Regards
>>
>> KASHIF
>>
>>
>>
>>
> ****************************************************************************
> ***********
>> This e-mail and attachments contain confidential information from HUAWEI,
>> which is intended only for the person or entity whose address is listed
>> above. Any use of the information contained herein in any way (including,
>> but not limited to, total or partial disclosure, reproduction, or
>> dissemination) by persons other than the intended recipient's) is
>> prohibited. If you receive this e-mail in error, please notify the sender
> by
>> phone or email immediately and delete it!
>>
>>
>>
>>
>
>




More information about the Pacemaker mailing list