BUG report: error log separation per virtual host does not work

Dan Dascalescu ddascalescu+nginx at gmail.com
Fri Jan 9 00:09:52 MSK 2009

Maxim Dounin <mdounin at ...> writes:

> The problem is that nginx sets reasonable logging level 
> automatically only for global error_log (it's defaults to error if 
> not defined).  For others it's defaults to stderr, i.e. nothing is 
> logged.  Solution is simple - explicitly specify logging level:
> [...] 
> Since there is no official documentation for error_log directive 
> at all - this probably can't be considered as a bug.  It's up to 
> Igor either fix it or document as is.

Thanks for the help. I documented this on the wiki at
http://wiki.codemongers.com/NginxHttpMainModule#error_log. Feel free to correct
as necessary (in particular, I'm not sure about the default error log levels).


More information about the nginx mailing list