Z
Z
zbender2014-09-08 11:12:21
Nginx
zbender, 2014-09-08 11:12:21

How to get nginx startup logs?

Open server 5.0.0
Windows 8
Nginx-1.5.12
Due to a buggy nginx config, the server does not start. nginx logs are not generated. Is it possible to catch jambs of the config?
Nginx-1.5.12_server.conf:

error_log         "%sprogdir%/userdata/logs/%httpdriver%_error.log" warn;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
brutal_lobster, 2014-09-08
@zbender

wiki.nginx.org/CommandLine

# nginx -t -c /etc/nginx/nginx.conf
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

And try setting a fixed error_log that nginx can write to for sure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question