PATCH: $time_custom supports a custom log timestamp

Wayne Davison wayne at opencoder.net
Tue Aug 25 00:04:28 MSD 2009


On Mon, Aug 24, 2009 at 09:20:05PM +0200, Micha?? Jaszczyk wrote:
> If the time is cached for one second, it makes little sense to use
> millisecond precision.

The milliseconds are added after the conversion from a particular second
to an ASCII representation of that second is done.  The caching just
avoids re-converting the same second into ASCII.  The converting of
milliseconds into the log buffer is done once per request.

..wayne..





More information about the nginx mailing list