nginx log empty

Cos rosettas at
Thu Oct 4 14:46:49 UTC 2012

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;

#pid        logs/;

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 uncomment above user and error_log options to specify
error_log directory or user account. But same issue..

Please suggest.

with kind regards

More information about the freebsd-questions mailing list