Error log questions

Athan Dimoy foxx at freemail.gr
Wed Sep 5 10:19:36 MSD 2007


"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;
   }


Thanks,
Athan 







More information about the nginx mailing list