[Dnsmasq-discuss] Logging
Paul Chambers
bod at bod.org
Thu Mar 13 04:46:34 GMT 2008
Is there some reason you can't use logrotate? -- Paul
http://linux.die.net/man/8/logrotate
http://www.linux.com/articles/48390
Philippe Faure wrote:
> Hello,
>
> I have found that I left logging enabled, and the dnsmasq.log file is over 500
> Mb. I was wondering if in the next release there could be a script that would
> automatically, maybe once a week, move the current file to dnsmasq.log.1, and
> so one. once you have done this for 5 weeks, start to zip the files, or just
> delete them.
>
> Something similar to the what happens to the syslog file and messages files.
>
> Just a suggestion.
>
> Philippe
>
More information about the Dnsmasq-discuss
mailing list