nginx logging with huge vhosts

Joydeep Bakshi joydeep.bakshi at netzrezepte.de
Wed Apr 30 04:56:09 UTC 2014


Hello Maxim,

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.

Thanks


On Tue, Apr 29, 2014 at 11:20 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Tue, Apr 29, 2014 at 04:22:45PM +0530, Joydeep Bakshi wrote:
>
> > Hello,
> >
> > How to log both access & error efficiently  with nginx having huge vhost
> ?
> > Is there any CustomLog available to collect the combined_vhost
> information ?
> >
> > Is it good configuring separate access & error logs when huge vhost ?
>
> Sorry, I've failed to understand your questions.
> On the other hand, most likely there are answers in the
> documentation, see here:
>
> http://nginx.org/r/error_log
> http://nginx.org/r/access_log
> http://nginx.org/r/log_format
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140430/168942c7/attachment.html>


More information about the nginx mailing list