[Dnsmasq-discuss] Logging

Simon Kelley simon at thekelleys.org.uk
Thu Mar 13 10:13:03 GMT 2008


Paul Chambers wrote:
> Is there some reason you can't use logrotate? -- Paul
> 
> http://linux.die.net/man/8/logrotate
> http://www.linux.com/articles/48390
> 

That would be my suggestion. The right options are something like

delaycompress
create
postrotate
      kill -USR2 `cat /var/run/dnsmasq.pid`

This is mentioned in the man page.


Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list