logi

Igor Sysoev is at rambler-co.ru
Fri Jul 15 10:26:19 MSD 2005


On Fri, 15 Jul 2005, Rasuk Evgeniy wrote:

> # ./nginx
> 2005/07/15 10:22:32 [emerg] 63415#0: unknown log format "main" in /opt/wwwfront/conf/nginx.conf:35

Тогда поменять местами:

     log_format  main  '%{host}v %addr %{proxy_add_x_forwarded_for}v '
                       '%time %request %status %{Referer}i '
                       '%{User-Agent}i %gzip_ratio';

     access_log  logs/access-main.log  main;

> -----Original Message-----
> From: Majordomo Pseudo User [mailto:majordom at ontico.ru] On Behalf Of Igor Sysoev
> Sent: Friday, July 15, 2005 10:15 AM
> To: nginx-ru at sysoev.ru
> Subject: RE: logi
>
> On Fri, 15 Jul 2005, Rasuk Evgeniy wrote:
>
>> Сори что не понимаю с первого раза , но картина след.
>> -> как буд то логи и не правил....
>
>>    access_log  logs/access-main.log;
>
>      access_log  logs/access-main.log  main;
>
>>    log_format  main  '%{host}v %addr %{proxy_add_x_forwarded_for}v '
>>                      '%time %request %status %{Referer}i '
>>                      '%{User-Agent}i %gzip_ratio';
>
>
> Игорь Сысоев
> http://sysoev.ru
>
>
>
>
>

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





More information about the nginx-ru mailing list