Hi Andras, On Thu, Jun 01, 2006 at 06:50:35PM +0200, Andras Korn wrote: > I just noticed that some of my log directories had many more log files in > them than the value of the 'n' parameter in the corresponding svlogd config. > > A great deal of these were unprocessed .u files. Unfortunately, I'm not sure > if there were also more .s files than configured, but I set up an experiment > if you like. > > If the behaviour of not deleting .u files during log rotation is > intentional, svlogd(8) should probably point it out. It currently does not. > I expected .u and .s files to be treated the same way for the purposes of > log rotation (as is the case with multilog).
svlogd doesn't differentiate between .u, .t, and .s files, it looks for file name starting with @ that are 27 characters long. But svlogd doesn't reduce the number of old log files if there are already more than configured; I guess this is what happens to you. svlogd(8): If svlogd sees more that num old log files in log after log file rotation, it deletes the oldest one. Default is 10. If num is zero, svlogd doesn't remove old log files. If you have 14 log files, and reconfigure svlogd to keep only 7, it'll still be 14, unless you remove some of them manually. HTH, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]