Welcome! Log In Create A New Profile

Advanced

Re: log file empty

Cos
September 28, 2012 03:42AM
On Thu, Sep 27, 2012 at 6:06 PM, Jim Ohlstein <jim@ohlste.in> wrote:
> On Sep 27, 2012 11:40 AM, "Cos" <rosettas@gmail.com> wrote:
>>
>> Dear All
>>
>> My system is FreeBSD 9 with latest version nginx.
>>
>> Here is my conf file content:
>>
>> #user www;
>> worker_processes 1;
>>
>> #error_log /var/log/nginx/error.log;
>
> Have you tried un-commenting the line above?

Yes, as I said. have tried un-comment the lines above to specify user
and error_log. nothing changed. If I change error_log as here uner:

error_log /var/log/nginx/error.log debug;

The precise debug logs diaplayed to screen but still nothing in log files.

>
>>
>> #pid logs/nginx.pid;
>>
>>
>> events {
>> worker_connections 1024;
>> }
>>
>> The problem is I can not see anything from /var/log/nginx-error.log,
>> all error logs outputed to screen directly.
>>
>> I have tried specify error_log directory or user account. But same..
>>
>> Please suggest.
>>
>> --
>> with kind regards
>>
>
> Jim Ohlstein


--
with kind regards

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

log file empty

Cos September 27, 2012 11:42AM

Re: log file empty

Jim Ohlstein September 27, 2012 12:08PM

Re: log file empty

Cos September 28, 2012 03:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 41
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready