nginx not logging access

Maxim Dounin mdounin at mdounin.ru
Fri Oct 28 20:14:22 UTC 2011


Hello!

On Fri, Oct 28, 2011 at 03:33:13PM -0400, cob wrote:

> I just noticed that after the user's download was complete, the
> access.log was updated.  Not sure I particularly like that
> behavior...I'd prefer to have it logged when contact is initiated.

Typical behaviour of http servers (and nginx isn't an exception) is 
to log request once response is sent.

With current state of http as used for almost everything, 
including long streaming and so on, it's probably good idea to 
have an option to log request once it's got from client.  Though 
it's not something we currently have.

Maxim Dounin



More information about the nginx mailing list