log file empty

Jim Ohlstein jim at ohlste.in
Thu Sep 27 16:06:55 UTC 2012


On Sep 27, 2012 11:40 AM, "Cos" <rosettas at 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?

>
> #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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120927/dcd1020d/attachment.html>


More information about the nginx mailing list