[collectd] collectd not logging

Tom Throckmorton throck at gmail.com
Tue Oct 28 02:34:32 CET 2014


On Mon, Oct 27, 2014 at 6:41 PM, Alison Chan <chan7781 at kettering.edu> wrote:

> Hello,
> I'm developing a few new collectd plugins so I am interested in
> debug-level logs. However, when I configure logging no file is
> created. What should I do to solve this problem?
>

From
http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_logfile
:

"Please note that *debug* is only available if collectd has been compiled
with debugging support."

It's probably not enabled in the build you're using.  You can verify that
logging generally works by switching to LogLevel info.

The solution would be to rebuild and --enable-debug.

-tt


>
> Here's the relevant stanza of the config file:
>
> LoadPlugin logfile
> <Plugin logfile>
>     LogLevel "debug"
>     File "/tmp/collectd.log"
>     Timestamp true
>     PrintSeverity true
> </Plugin>
>
> Cheers,
> --
> Alison Chan
> Kettering University
> chan7781 at kettering.edu
> +1 909 278 7753
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20141027/9e1ee948/attachment.html>


More information about the collectd mailing list