[syslog-ng] syslog-ng own logs
Sandor Geller
Sandor.Geller at morganstanley.com
Tue Sep 6 14:36:06 CEST 2011
Hi,
On Fri, Sep 2, 2011 at 3:46 PM, André Larose <andre.larose at 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
More information about the syslog-ng
mailing list