[syslog-ng] Query regarding syslog-ng.conf and creation of logging files

Gergely Nagy algernon at balabit.hu
Wed Nov 23 10:07:44 CET 2011


Ankit Mahawar <ankit.mahawar at tcs.com> writes:

>  1 . The destination files specified in syslog-ng.conf is created by
> syslog-ng ??

Yes, they will be created by syslog-ng, if they do not exist.

>  2.  If they are created by syslog-ng then , are they created only when the
> log gets filtered for that destination file ?

Yes.

>  3 . Does this happen in syslog as well,because I think in syslog the file
> gets created even before logging into the file

That, I do not know. It might be that other syslogd implementations
create the file before any logs reach it.

-- 
|8]



More information about the syslog-ng mailing list