log questions

Igor Sysoev is at rambler-co.ru
Tue Jun 28 14:57:31 MSD 2005


On Tue, 28 Jun 2005, Andrey Y. Ostanovsky wrote:

> 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
>
> Извечный русский вопрос.:(

Я ошибся:
    error_log   /var/log/access.log  notice;


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list