Log files provide some of the best clues as to what is going on when a system doesn't act as expected. Depending on the verbosity level configured and whether or not NGINX was compiled with debugging support (
--enable-debug), the log files will help you understand what is going on in a particular session.
Each line in the error log corresponds to a particular log level, configured using the
error_log directive. The different levels are
emerg, in order of increasing severity. Configuring a particular level will include messages for all of the more severe levels above it. The default log level is
In the context of the