[collectd] collectd not logging
Marc Fournier
marc.fournier at camptocamp.com
Tue Oct 28 08:30:40 CET 2014
Excerpts from Tom Throckmorton's message of 2014-10-28 02:34:32 +0100:
> 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.
FYI, upcoming collectd 5.5 will fallback to "info" log level in this
case. Avoiding this confusing situation where nothing gets logged at
all.
Marc
More information about the collectd
mailing list