<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br class="webkit-block-placeholder"></div><div>I suspect I've asked this before:</div><div><br class="webkit-block-placeholder"></div><div>Quoting the man page:</div><div><div><font class="Apple-style-span" face="'Courier New'">     -w file     Write log entries to file instead of displaying them.  The</font></div><div><font class="Apple-style-span" face="'Courier New'">                 file will be overwritten unless the -a option was specified.</font></div><div><font class="Apple-style-span" face="'Courier New'"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" face="'Courier New'">                 If varnishncsa receives a SIGHUP while writing to a file, it</font></div><div><font class="Apple-style-span" face="'Courier New'">                 will reopen the file, allowing the old one to be rotated</font></div><div><font class="Apple-style-span" face="'Courier New'">                 away.</font></div><div><br class="webkit-block-placeholder"></div><div>Put shortly, varnishncsa seems to totally ignore HUP signals. No log file reopening takes place. I see from the source that code is there to handle it, but I lack the skills and time to figure out why it's not hit, or not working as (I) expect(ed).</div><div><br class="webkit-block-placeholder"></div><div>I remember trying this some time ago as well, while varnish 1.0 was the hotness, and found the same behavior. I've meanwhile resorted to writing to a fifo buffer and reading from there using flog. Not pretty, but it works.</div><div><br class="webkit-block-placeholder"></div><div>/Eirik</div></div></body></html>