Re: Socklog feature request

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Sat, Aug 07, 2004 at 10:48:00AM +0200, Alexander Lazic wrote:
> ---
> Log file rotation based on date e.g. every Day
> ---

This rather is a question about svlogd from the runit package that
socklog.  It has been discussed a few times on the [email protected]
mailing list, comments on multilog apply to svlogd also.  E.g.:

 http://marc.theaimsgroup.com/?t=104379616100007&r=1&w=2
 http://marc.theaimsgroup.com/?t=104064482600002&r=1&w=2

> I need to rotate the logs per day but haven't found a easy way to do
> this with socklog.

Why do you need?  I would advise to make use of the great feature of
multilog and svlogd that allows you to calculate the maximum space used
for logs.  If you rotate logs on a daily basis only, you cannot ensure
this limit; a service (probably misconfigured or broken) can produce a
huge amount of logs in one day.

Regards, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.