I beleive the only way to do this is to custom write a script that reads the log files and then issues a reload signal to nginx (something like logrotate).<br><br>If anyone does know of a script id be interested to learn too as I do this on my servers using a hacked togeather php script and logrotate (on crontab every minute)<br>
<br><div class="gmail_quote">On Mon, Aug 1, 2011 at 11:53 PM, John Macleod <span dir="ltr"><<a href="mailto:jcdmacleod@gmail.com">jcdmacleod@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm looking for a near real-time script to parse log files and insert interesting data into a db.<br>
<br>
Does anyone know of an existing script to do this?<br>
<br>
John<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div>