--On Wednesday, August 17, 2005 1:08 PM +0200 Grames Gernot <[EMAIL PROTECTED]> wrote:

Hi,

i found out that the mon writes a lot of messages to the
var/log/messages file during monitoring.

How can i stop this?? It fills out my harddisk!

Thank you!



By reading the documentation for mon and syslog, and picking a configuration which suits your needs. By default mon logs to the 'daemon' syslog facility, and logs various messages at the debug, info, notice, alert, err, and crit syslog levels. I suspect you're logging daemon.info and higher messages to your messages file. Either log only higher level messages, or change mon to log to a facility you don't output to disk.

Alternatively, use any of the miriad systems available that perform logfile rotation, so you don't keep your syslogs forever.

If you *really* want no syslog output at all, modify the code to add that feature as an option and send us a patch.

-David

David Nolan                    <*>                    [EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
     a herd of rogue emacs fsck your troff and vgrind your pathalias!

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to