atom feed14 messages in ru.sysoev.nginxdynamic logs
FromSent OnAttachments
Vladan PopovicSep 11, 2008 1:15 pm 
Igor SysoevSep 11, 2008 1:36 pm 
Vladan PopovicSep 11, 2008 3:51 pm 
Igor SysoevSep 11, 2008 10:53 pm 
Vladan PopovicSep 12, 2008 12:38 am 
Igor SysoevSep 12, 2008 12:56 am 
Vladan PopovicSep 12, 2008 4:09 am 
Maxim DouninSep 12, 2008 4:40 am 
Maxim DouninSep 12, 2008 5:19 am 
Igor SysoevSep 12, 2008 5:27 am.log
Vladan PopovicSep 12, 2008 6:06 am 
Igor SysoevSep 12, 2008 6:29 am 
Igor SysoevSep 12, 2008 6:35 am 
Vladan PopovicSep 12, 2008 2:29 pm 
Subject:dynamic logs
From:Vladan Popovic (vlad@public.gmane.org)
Date:Sep 11, 2008 1:15:07 pm
List:ru.sysoev.nginx

Hi,

I'm using version 0.716 and trying to make dynamic log files work. The log file is created but subsequently nothing is written inside the file. The configuration is as follows: # Catch all web site # server { server_name _ ;

location /widgets/ { alias /home/http/lib/widgets/; } rewrite ^/crm/(.*)$ https://$host/crm/$1 permanent;

if ($host ~* "^([^.]+(\.[^.]+)*)\.((.*)\.(com|net|org)(\..*)?)$"){ set $subd $1; set $dom $3; set $myroot /sites/$dom/$subd/htdocs ; }

location / { index index.php index.html index.htm; }

root /home/http$myroot ; include php-fastcgi;

access_log /var/log/nginx/$dom debug ;

}

I get an error as follows: 2008/09/12 02:06:19 [alert] 9832#0: *6 write() to "/var/log/nginx/be-o.com" failed (22: Invalid argument) while logging request,

Can anyone help

Thank you

Vladan