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 ?
SubjectAuthorPosted

can i change time format in access log?

appchemistMarch 25, 2013 10:29PM

Re: can i change time format in access log?

Ruslan ErmilovMarch 26, 2013 01:22AM

Re: can i change time format in access log?

appchemistMarch 26, 2013 02:12AM

Re: can i change time format in access log?

appchemistMarch 26, 2013 02:22AM

Re: can i change time format in access log?

Ruslan ErmilovMarch 26, 2013 02:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 57
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 154 on December 17, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready