Hi, On Fri, Sep 2, 2011 at 3:46 PM, André Larose <andre.larose@telus.com> wrote:
I only use syslog-ng to capture logs of my in-house applications but not the usual syslog messages, I leave that to the sysadm team. This means when syslog-ng sends messages about itself I am not be able to see them as they end up in the other syslog, “I think”.
syslog-ng never sends logs to /dev/log unless configured to do so, but uses the internal facility which might missing from your configuration.
I would like to know how I can save to file the logs generated by syslog-ng itself .
using something like this source s_syslogng { source(internal); }; destination d_syslongng { file("/var/log/syslog-ng.log"); }; log { source(s_syslogng); destination(d_syslogng); }; will do the trick. Regards, Sandor