I am really happy with nginx from now.
but I have one question.
I want to customize time format in access log, because of calculating
time.
There are two kind of time format in log_format.
one is $time_local. (21/Mar/2013:18:47:32 +0900)
another one is $time_iso8601. (2013-03-26T10:27:40+09:00)
but, these are not matched by my demand.
On Mon, Mar 25, 2013 at 10:29:22PM -0400, appchemist wrote:
I want to customize time format in access log, because of calculating time.
There are two kind of time format in log_format.
one is $time_local. (21/Mar/2013:18:47:32 +0900)
another one is $time_iso8601. (2013-03-26T10:27:40+09:00)
but, these are not matched by my demand.
There’s a third one, $msec. It’s time in seconds since UNIX Epoch,
with a milliseconds resolution, convenient if you need to further
process your logs and do time calculations.