[PATCH 1 of 2] HTTP: Add client source port to any error that is logged

Maxim Dounin mdounin at mdounin.ru
Thu Apr 24 17:56:48 UTC 2014


Hello!

On Thu, Apr 24, 2014 at 10:41:43AM -0700, Quanah Gibson-Mount wrote:

> 
> 
> --On April 24, 2014 at 9:37:54 PM +0400 Maxim Dounin <mdounin at mdounin.ru>
> wrote:
> >I tend to say "No, thanks".
> >
> >If needed due to local regulations, $remote_port can be added to
> >log_format.
> 
> $remote_port in the log format section only covers errors logged to the
> access log, it does not cover errors in the error log.  The submitted patch
> handles the error log.

I understand the difference, thank you.

The ticket in question only talked about error_log in context of 
mail module, where is no separate access logging to meet the 
alleged regulations.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list