[collectd] default collectd.conf syslog verbosity

Florian Forster octo at verplant.org
Sat Aug 7 09:00:09 CEST 2010

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.


[*] 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100807/004f37cf/attachment.pgp 

More information about the collectd mailing list