<div dir="ltr">Hi,<div><br></div><div>I created a dummy log file to test using the flush handler. This was successful. I will now integrate it with our code.</div><div><br></div><div>An alternative (but more complex) method I thought of was to assign an unused signal, use signalfd() to get a file descriptor then use ngx_add_event() to add a handler to the main event queue. When this handler was triggered it could set ngx_reopen=1</div>
<div><br></div><div>Your solution is faster to code up, so I will go with that. Thanks for the help!</div><div><br></div><div>-Andrew</div></div>
<br>
<div><font size="1">NOTICE</font></div><div><font size="1"><br></font></div><div><font size="1">This e-mail and any attachments are confidential and may contain copyright material of Brandscreen or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Brandscreen does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Brandscreen.</font></div><div style="font-size:1.3em"><br></div>