log questions

Andrey Y. Ostanovsky andrey at ostanovsky.spb.ru
Tue Jun 28 14:49:56 MSD 2005


On Tue, Jun 28, 2005 at 02:27:03PM +0400, Igor Sysoev wrote:

> Отлаживать регулярные выражения можно так:
> 
> rewrite_log  on;
> access_log   /path/to/log  notice;

location {

          rewrite_log  on;
          access_log   /var/log/access.log  notice;

}

# nginx -t
2005/06/28 14:46:28 [emerg] 71641#0: unknown log format "notice" in /usr/local/etc/nginx/nginx.conf:59
2005/06/28 14:46:28 [emerg] 71641#0: the configuration file "/usr/local/etc/nginx/nginx.conf" test failed

Извечный русский вопрос.:(

Andrey





More information about the nginx-ru mailing list