I would like to get opinions about this:

I have the following line in my rsyslog conf:
$template DynFile,"/var/log/syslog-%HOSTNAME%"
*.*;auth,authpriv.none  ?DynFile

And it is not working.
After hours of different tries realized if i remove ;auth,authpriv.none
It starts to work magically.
$template DynFile,"/var/log/syslog-%HOSTNAME%"
*.*  ?DynFile

However i had to touch the files manually because these error messages
appeared in the log:
rsyslogd: Could not open dynamic file '/var/log/syslog-XXX' - discarding message

It is an Ubuntu 10.04 LTS with the repo install of rsyslog 4.2.0

Do you have any idea what the problem with my original try and why
rsyslog cannot open logfiles?


Thank you
Peter
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to