On 8/4/07, Alan Robertson <[EMAIL PROTECTED]> wrote: > Andrew Beekhof wrote: > > On 7/20/07, Keisuke MORI <[EMAIL PROTECTED]> wrote: > >> Lars Marowsky-Bree <[EMAIL PROTECTED]> writes: > >> > >> > On 2007-07-19T13:42:53, Serge Dubrouski <[EMAIL PROTECTED]> 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? > > > > 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, > aren't you?
no - since the PE has no connection to the CIB. the DC will log them, but in the CIB's logs. however this indicates _what_ changed but not _why_ which can be equally important. _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
