[syslog-ng] syslog-ng own logs
André Larose
andre.larose at telus.com
Wed Sep 7 14:54:33 CEST 2011
Thank you for your help Sandor, it is much appreciated.
The documentation is there but the information on internal is so small is missed it.
However I would like to point the source configuration should be like this:
source s_syslogng {
internal();
};
Kind regards,
>>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