error log

etrader nginx-forum at
Thu Jun 9 15:00:32 MSD 2011

I setup error and access logs as

access_log /logs/access/$server_name.access.log main;
error_log /logs/error/$server_name.error.log info;

access logs are created correctly for each virtual host, but for
error_log "$server_name" is not transformed to the server name, and one
error log named "$server_name.error.log" is created.

Posted at Nginx Forum:,205230,205230#msg-205230

More information about the nginx mailing list