0.7.4 access_log

Marcos Neves marcos.neves at gmail.com
Mon Jun 30 19:49:52 MSD 2008


I found that log files with variable, are created with nginx worker
user, in my case, nobody:nogroup
Now it´s working, without need to set open_log_file_cache   max=1000;


On Mon, Jun 30, 2008 at 12:36 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> On Mon, Jun 30, 2008 at 12:27:44PM -0300, Marcos Neves wrote:
>
>> To make sure, I make it 777, but I don?t think that?s the problem,
>> cause the access logs are created as root user.
>> What could be?
>
> I've just found that without open_log_file_cache directive worker exits
> with signal. Try
>
>     open_log_file_cache   max=1000;
>
>> On Mon, Jun 30, 2008 at 12:18 PM, Igor Sysoev <is at rambler-co.ru> wrote:
>> > On Mon, Jun 30, 2008 at 12:13:09PM -0300, Marcos Neves wrote:
>> >
>> >> access_log with variable is a features that I requested and was
>> >> waiting anxious, but I try here and the access logs simple stop
>> >> working.
>> >> This is what I did:
>> >> access_log /qi/nginx/logs/$host.log;
>> >
>> > Can nginx user write to /qi/nginx/logs/ ?
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>



-- 
Marcos Neves
+55 44 3263-8132
+55 44 9918-8488





More information about the nginx mailing list