I am running dnsmasq on OSX.I am also using newsyslog to rotate log files. Here is the /etc/newsyslog.d/dnsmasq.conf# logfilename          [owner:group]    mode count size   when  flags [/pid_file] [sig_num]/var/log/dnsmasq.log   nobody:admin     640  5     10000  *     ZLogs are correctly rotated but when this happens a single line is written to the new log file but then all logging stops until I restart dnsmasq.Nov  2 15:30:00 nexus newsyslog[1932]: logfile turned over due to size>10000KFinally, here is my /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist:<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd><plist version=1.0>  <dict>    <key>Label</key>    <string>homebrew.mxcl.dnsmasq</string>    <key>ProgramArguments</key>    <array>      <string>/usr/local/opt/dnsmasq/sbin/dnsmasq</string>      <string>--keep-in-foreground</string>    </array>    <key>RunAtLoad</key>    <true/>    <key>KeepAlive</key>    <true/>  </dict></plist>Any idea how to best fix this?
log rotation fails for dnsmasq on osx using newsyslog
osx;logs;dnsmasq