separate access log for vhost?

Max maxbear at gmail.com
Wed Feb 4 09:16:40 MSK 2009


Hello,

Thanks for the reply.

Yes, I understand if I have separate server { , I can have different access
logs. But I don't have separate server { for each domain. I just set the ip.

Max

On Wed, Feb 4, 2009 at 1:56 PM, Dan Dascalescu
<ddascalescu+nginx at gmail.com<ddascalescu%2Bnginx at gmail.com>
> wrote:

> > Can I separate access log for different vhosts? Something like:
> access_log
> > path/$host.access.log  main; is it possible?
>
> Max, see http://wiki.codemongers.com/SeparateErrorLoggingPerVirtualHost
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090204/e6e26704/attachment.html>


More information about the nginx mailing list