Jacob W Anderson wrote:
>
> Do you guys know how to configure nanny so that it doesn't output so much to
> the error log? Right now, it yaps about bad load average strings from
> ruptime (when the average load is 0.00).
Besides fixing the items causing the error output or increasing timers
to reduce the frequency, there is no built-in mechanism to suppress
specific output. Aren't you glad you have the source code? :-)
All the output produced by nanny (and the other piranha daemons)]
is pumped out through a routine called piranha_log() (defined in
util.c), and the first parameter is a flag. If you clear the
LVS_FLAG_PRINTF and LVS_FLAG_SYSLOG bits on all the calls that
you don't want to have output displayed, it will be dropped.
I know this doesn't help because it's probably months away, but
it is planned for a future release to have less output, more
control over the output, and a separate log file for non-system
messages.
--
Keith Barrett
Red Hat Inc. HA Team
kbarrett@xxxxxxxxxx
|