Carlos Carvalho wrote: > Simon Kelley ([email protected]) wrote on 27 March 2007 12:32: > >The next release includes the ability to log direct to a file, without > >using syslog at all: that might help you there. > > Good! Please, include the ability of closing and reopening the file > when receiving a signal, so that we can rotate logs without restarting > dnsmasq.
It's not very easy to do this, because dnsmasq drops root, so it no longer has the permissions to close and reopen the file. I tested it using the logrotate "copytruncate" option, and it works fine, without this facility. Cheers, Simon.
