Error log questions

Igor Sysoev is at rambler-co.ru
Wed Sep 5 10:21:52 MSD 2007


On Wed, Sep 05, 2007 at 09:19:36AM +0300, Athan Dimoy wrote:

> "Igor Sysoev" <is at rambler-co.ru> wrote in message 
> news:20070905055914.GC1738 at rambler-co.ru...
> >Anyway, I recommend to log errors on crit level.
> 
> One more question if you don't mind.
> Is it possible to have all error_logs entries pointing to the same file but 
> using different error level?
> 
> For example...
> 
> error_log   main_error.log warn;
> http {
>   error_log   http_error.log info;
> 
>   server  {
>        server_name   one;
>        error_log   http_error.log info crit;
>   }
> 
>   server  {
>        server_name   two;
>        error_log   http_error.log info error;
>   }

I have not test it, but it should work.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list