Error log questions

Igor Sysoev is at rambler-co.ru
Tue Sep 4 23:04:45 MSD 2007


On Mon, Sep 03, 2007 at 08:40:45AM +0300, Athan Dimoy wrote:

> Is it possible to configure error_log, such a way it only contains 
> application specific errors? Currently nginx also logs virtual server error 
> messages like "No such file or directory" and others.
> IMHO these messages, as well as access logs, should be contained in a 
> separate file (per virtual server), and not in the common error_log.

   server {
       error_log   ...
       ...
   }


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





More information about the nginx mailing list