1 Feb
2006
1 Feb
'06
5:41 p.m.
Hello, I'd like to use syslog-ng to log fetchmail logs. For the moment, fetcmail logs are in /var/log/fetchmail.log and I'd like to put it in /var/log/$YEAR:$MONTH$DAY, to have a separate log file for each day. I try to add that: source fetchmail { file("/var/log/fetchmail.log"); }; destination df_fetchmail { file("/var/log/$YEAR/$MONTH/$DAY/fetchmail.log"); }; log { source(fetchmail); filter(f_fetchmail); destination(df_fetchmail); }; But it dosn't works. Do you have an idea? Thanks :-) Bye