[Linux-ha-dev] crm_resource in 2.1.1 prints info messages
alanr at unix.sh
Sat Aug 4 05:34:11 MDT 2007
Andrew Beekhof wrote:
> On 7/20/07, Keisuke MORI <kskmori at intellilink.co.jp> wrote:
>> 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
>> >> crm_resource -W -r PTEGroup
>> >> crm_resource: 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: 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
>> > 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?
> At this time, no.
> As lars said, its important information to us and presumably the
> reason you want it at debug is so that its not printed - which pretty
> much defeats the point.
You're also logging changes to the CIB separately in the pengine logs,
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
More information about the Linux-HA-Dev