Hi Michael, On Fri, Aug 06, 2010 at 10:22:53PM +0300, Michael Shigorin wrote: > Hello Florian, > is it reasonable to propose adding > > <Plugin syslog> > LogLevel info > </Plugin> > > to default configuration or disabling syslog plugin by default > with a sensible comment in stock collectd.conf that would warn > of sizeable log traffic?
I much prefer to have some kind of logging in the default config file, so users have a place to look if something doesn't work. Currently the "syslog" plugin is used if it was built, otherwise the "logfile" plugin is used. The default log level depends on the configure option "--enable-debug". It is "debug" if debugging was enabled and "info" otherwise. This assumes that if the user enables debugging, he actually requires debugging output. [*] How would you feel about an additional configure option, "--with-loglevel=info" which would override this default behavior? Would that help with your package? > PS: would a commit be more convenient? We maintain ALT package > in git either: http://git.altlinux.org/gears/c/collectd.git Patch or pull request, either way is fine. If you already have a Git repository available, pulling from it may be a tad easier. Regards, -octo [*] I know that this doesn't hold true for packagers and I'm sorry for the inconvenience, but I think that this is a reasonable assumption for Joe Everyuser. -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
signature.asc
Description: Digital signature
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
