Welcome! Log In Create A New Profile

Advanced

can i change time format in access log?

March 25, 2013 10:29PM
Hi, EveryBody!

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.

I want to log time likes "2013-03-25 16:35:35"....

can i customize time format ?
Subject Author Posted

can i change time format in access log?

appchemist March 25, 2013 10:29PM

Re: can i change time format in access log?

Ruslan Ermilov March 26, 2013 01:22AM

Re: can i change time format in access log?

appchemist March 26, 2013 02:12AM

Re: can i change time format in access log?

appchemist March 26, 2013 02:22AM

Re: can i change time format in access log?

Ruslan Ermilov March 26, 2013 02:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready