Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

can i change time format in access log?

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>