A debugging log | english русский 简体中文 עברית 日本語 türkçe news about download security advisories documentation pgp keys faq links books support donation trac wiki nginx.com |
To enable a debugging log, nginx needs to be configured to support debugging during the build: ./configure --with-debug ...
Then the error_log /path/to/log debug;
The nginx binary version for Windows is always built with the debugging log
support, so only setting the
Note that redefining the log without also specifying the
error_log /path/to/log debug; http { server { error_log /path/to/log; ...
To avoid this, either the line redefining the log should be
commented out, or the error_log /path/to/log debug; http { server { error_log /path/to/log debug; ...
It is also possible to enable the debugging log for selected client addresses only: error_log /path/to/log; events { debug_connection 192.168.1.1; debug_connection 192.168.10.0/24; }
|