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

Ankit Mahawar ankit.mahawar at tcs.com
Wed Nov 23 11:39:11 CET 2011


Thanks Gregely for your inputs.

Ankit



                                                                                                                                             
  From:       Gergely Nagy <algernon at balabit.hu>                                                                                             
                                                                                                                                             
  To:         Syslog-ng users' and developers' mailing list <syslog-ng at lists.balabit.hu>                                                     
                                                                                                                                             
  Date:       11/23/2011 02:37 PM                                                                                                            
                                                                                                                                             
  Subject:    Re: [syslog-ng] Query regarding syslog-ng.conf and creation of	logging files                                                
                                                                                                                                             
  Sent by:    syslog-ng-bounces at lists.balabit.hu                                                                                             
                                                                                                                                             





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]

______________________________________________________________________________

Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq




=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you





More information about the syslog-ng mailing list