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

Geller, Sandor (IT) Sandor.Geller at morganstanley.com
Fri Feb 8 08:41:17 CET 2008


Hi,

> 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.

Seeing your mails about problems on openSuse rings a bell: AppArmor. Are
you sure it doesn't block syslog-ng on your system?

regards,

Sandor
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.


More information about the syslog-ng mailing list