On Mon, Oct 27, 2014 at 6:41 PM, Alison Chan <chan7...@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
> chan7...@kettering.edu
> +1 909 278 7753
>
> _______________________________________________
> collectd mailing list
> collectd@verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to