[syslog-ng] syslog-ng doesn't log anything with local configuration

infosec at gmail.com infosec at gmail.com
Fri Feb 8 02:32:00 CET 2008


Couple thoughts, probably things that you've already looked at:

1. Was that log file created by syslog-ng or by you? If by you, check for a typo (since you don't have the full path in the 'ls -l' output it's good to be sure).

2. Are you sure syslog-ng is using this config file? Pass the flag and argument to force it to that file just in case.

3. Are you sure it's really starting? If it created that logfile then it must be, but good to be sure. Unresolved library dependencies would show up on the command ine but I don't know how you're starting it.

If none of these help report back to the list, there's probably some other simple explanation. Oh and I'm assuming you didn't compile it yourself (since the version is 1.6.12-33), let us know if you built it yourself.


-----Original Message-----

From:  Uwe Galle <uga at domestic.de>
Subj:  [syslog-ng] syslog-ng doesn't log anything with local configuration
Date:  Thu Feb 7, 2008 3:08 pm
Size:  920 bytes
To:  syslog-ng at lists.balabit.hu

Hi,



I am using openSUSE 10.3 with syslog-ng 1.6.12-33 with the following

configuration file:



#

source s_file { internal(); };

destination d_file { file("/home/uga/Daten/system/system.msg"); };

log { source(s_file); destination(d_file); };



You see, it's really simple. ls -l displays for the file:



-rw-rw-rw- 1 root root     0 2008-02-07 22:03 system.msg



So system.msg is writable for all. But nothing is logged to the file,

even after restart. The FAQ mentions a similar case

(http://www.campin.net/syslog-ng/faq.html#dupe_sources) but the problem

here are clearly duplicate  sources in the directives. This is not the

case here. Any ideas are very welcome.



Thanks

_______________________________________________

syslog-ng maillist  -  syslog-ng at lists.balabit.hu

https://lists.balabit.hu/mailman/listinfo/syslog-ng

Frequently asked questions at http://www.campin.net/syslog-ng/faq.html








More information about the syslog-ng mailing list