[patch] Logging: raise severity level for logged messages

Maxim Dounin mdounin at mdounin.ru
Mon Dec 30 20:07:51 UTC 2013


On Mon, Dec 30, 2013 at 12:35:06PM +1100, Sergei Turchanov wrote:

> # HG changeset patch
> # User Sergei Turchanov <turchanov at farpost.com>
> # Date 1388366954 -39600
> # Node ID 309f46326753b70222ed86d0c09cb1f702aeffda
> # Parent  2cfc095a607a2e6205e45ee0be062f57a8d7ac88
> Logging: raise severity level for logged messages
> Nginx is inconsistent in respect to severity level used for messages that
> are logged for user/server errors resulting in 4xx/5xx response codes.
> There are some places where INFO level is used which makes hard to debug
> user problems because setting logging level of 'error_log' to 'info'
> produces
> too much of an output whereas with this patch setting level to 'warn' gives
> more relevant messages.

No, thank you.  These messages are logged at info level as they 
are trivial to trigger by a client, and there should be an easy 
way to hide these messages.

Maxim Dounin

More information about the nginx-devel mailing list