It's good to have them in the logs and I have no objections there, but
why on the screen? And may be it's a good idea to make that
configurable through ha.cf. Currently there is no way (as far as I
know) to disable info messages form going to the logs. And because of
that log files can become really big (for example httpd ocf RA
generates an info message for each monitoring event). There is a debug
level parameter in ha.cf but it doesn't help to eliminate those info
messages. I haven't tried logfacility feature yet, may be that will
help.

On 7/19/07, Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote:
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.


Regards,
    Lars

--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/



--
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to