<div dir="ltr">Hello Maxim,<div><br></div><div>Presently I have configured separate access & error log for each & every nginx vhost. I wonder if there is other alternative which can log all vhosts into a common access & error log and later split them according to vhost for easy debugging.</div>
<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 29, 2014 at 11:20 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<div><div class="h5"><br>
On Tue, Apr 29, 2014 at 04:22:45PM +0530, Joydeep Bakshi wrote:<br>
<br>
> Hello,<br>
><br>
> How to log both access & error efficiently with nginx having huge vhost ?<br>
> Is there any CustomLog available to collect the combined_vhost information ?<br>
><br>
> Is it good configuring separate access & error logs when huge vhost ?<br>
<br>
</div></div>Sorry, I've failed to understand your questions.<br>
On the other hand, most likely there are answers in the<br>
documentation, see here:<br>
<br>
<a href="http://nginx.org/r/error_log" target="_blank">http://nginx.org/r/error_log</a><br>
<a href="http://nginx.org/r/access_log" target="_blank">http://nginx.org/r/access_log</a><br>
<a href="http://nginx.org/r/log_format" target="_blank">http://nginx.org/r/log_format</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<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>
</font></span></blockquote></div><br></div>