[Dnsmasq-discuss] Logfile rotation

Santiago Zarate santiago at zarate.net.ve
Mon Jan 25 04:15:49 GMT 2010


I would suggest you to use logrotate directly...:
http://linux.die.net/man/8/logrotate

2010/1/24 Don Muller <don at djmuller.com>:
> Hi,
>
>
>
> I just started using dnsmasq on my home network. It is running on my QNAP
> TS-509 NAS and it works great!
>
>
>
> I have a question about log rotation. I know I have to send a SIGUSR2 to
> perform a log rotation but what exactly happens? How does it work? I enabled
> logging and there are messages being logged. I issued a “kill -12 pid of
> dnsmasq” but nothing happened. IS the log supposed to be renamed and a new
> one created using the same name specified in the conf file? I’ve read the
> man page but I still can’ figure out how it works and what is supposed to
> happen.
>
>
>
> Thanks
>
> Don
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>



More information about the Dnsmasq-discuss mailing list