<div dir="ltr">On Mon, Oct 27, 2014 at 6:41 PM, Alison Chan <span dir="ltr"><<a href="mailto:chan7781@kettering.edu" target="_blank">chan7781@kettering.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
I'm developing a few new collectd plugins so I am interested in<br>
debug-level logs. However, when I configure logging no file is<br>
created. What should I do to solve this problem?<br></blockquote><div><br><div>From <a href="http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_logfile">http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_logfile</a> :<br><br>"Please note that <b>debug</b> is only available if collectd has been compiled with debugging support."<br><br></div>It's probably not enabled in the build you're using.  You can verify that logging generally works by switching to LogLevel info.<br><br>The solution would be to rebuild and --enable-debug.<br></div><div><br></div><div>-tt<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Here's the relevant stanza of the config file:<br>
<br>
LoadPlugin logfile<br>
<Plugin logfile><br>
    LogLevel "debug"<br>
    File "/tmp/collectd.log"<br>
    Timestamp true<br>
    PrintSeverity true<br>
</Plugin><br>
<br>
Cheers,<br>
<span class=""><font color="#888888">--<br>
Alison Chan<br>
Kettering University<br>
<a href="mailto:chan7781@kettering.edu">chan7781@kettering.edu</a><br>
<a href="tel:%2B1%20909%20278%207753" value="+19092787753">+1 909 278 7753</a><br>
<br>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</font></span></blockquote></div><br></div></div>