[Linux-ha-dev] crm_resource in 2.1.1 prints info messages

Keisuke MORI kskmori at intellilink.co.jp
Thu Jul 19 21:50:47 MDT 2007


Lars Marowsky-Bree <lmb at suse.de> writes:

> On 2007-07-19T13:42:53, Serge Dubrouski <sergeyfd at gmail.com> wrote:
>
>> In the latest 2.1.1 crm_resource prints info messages with every invocation:
>> 
>> crm_resource -W -r PTEGroup
>> crm_resource[9813]: 2007/07/19_13:39:05 info: Invoked: crm_resource -W
>> -r PTEGroup
>> resource PTEGroup is running on: goodman
>> 
>> crm_resource -U -r PTEGroup
>> crm_resource[10223]: 2007/07/19_13:41:48 info: Invoked: crm_resource
>> -U -r PTEGroup
>> 
>> And so on. Not a big deal, just annoying. It wasn't like this in
>> previous releases.
>
> That is quite intentional. It shouldn't necessarily print it, but you
> wouldn't believe how helpful it is to be able to see the actual user
> commands executed in the logs ;-)
>
> "Honest I didn't do anything!"
>
> If you have specific suggestions about commands which needn't be logged,
> lets discuss that.


I also feel annoyance with that log.

We are using attrd_updater command in the monitor operation of
a RA to control resources by our own attribute values and rules.
In that case the messages is logged every 10 seconds for example :-(

We might also use crm_resource to run periodically
for monitoring from another system administration tool.

How about changing the log level for this message down to debug level?

Thanks,

Keisuke MORI
NTT DATA Intellilink Corporation



More information about the Linux-HA-Dev mailing list