On 16.11.2009 14:46, Neil Bothwick wrote: > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote: > >> - No need to logrotate with time based filenames. Hence, no need to >> "kill -HUP" the syslog daemon. No missed logs. > > Then how do you get the server to use the new logfile names each > day/week?
It creates and uses a new file each hour/day/etc. Perhaps, you missed the file(...) directive? Reposting for your reference: destination mail { file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR" [...] > You only need to send a SIGHUP to the server using that log > facility, so syslog would not be affected in your example. I can't parse this. The point is avoiding SIGHUP so that we do not miss any log messages. OP asked how one manages log files without logrotate and the answer is with time based file names. It has the additional benefit of avoiding SIGHUP. -- Eray