[syslog-ng] why i have to restart syslog to have the new apache log??

gatfi sami pfegatfi.sami at gmail.com
Mon Mar 9 02:36:40 CET 2009


hi i am using syslog-ng 2.0.9.1 on open suse 11.0

i configured this littele script in /etc/syslog-ng/syslog-ng.conf

source my_src { file("/var/log/apache2/error_log");  };
>
> #filter my_filter { };
>
> destination my_dest{  file("/var/log/Sami/$HOST/messages" owner("root")
> group("root") perm(0640) dir_perm(0750) create_dirs(yes));
>   };
>
> log { source(my_src); #filter(my_filter);
> destination(my_dest); };
>
the problem is when i restart apache2 while using the *tail -f
/var/log/Sami/$HOST/messages

*nothing happens i have to restart syslog-ng to see those errors

by the way i stoped the apparmor to avoid a permission denied on the
destination driver

i need help plz
tks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090309/aeb84ef5/attachment.htm 


More information about the syslog-ng mailing list