Skip to content

Commit 7d85f49

Browse files
author
Osman
committed
use milliseconds since epoch for timestamp
1 parent a662904 commit 7d85f49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/server/bin/uwsgi.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ threads = 4
99
log-4xx = true
1010
log-5xx = true
1111
disable-logging = true
12-
logdate = %%Y-%%m-%%d-T%%H:%%M:%%SZ
13-
logformat = {"timestamp": "%(ftime)", "address": "%(addr)", "method": "%(method)", "protocol": "%(proto)", "resp_size": "%(size)", "request_body_size": "%(cl)", "response_status": "%(status)", "response_time": "%(secs)", "uri": "%(uri)"}
12+
logformat = {"timestamp": "%(tmsecs)", "address": "%(addr)", "method": "%(method)", "protocol": "%(proto)", "resp_size": "%(size)", "request_body_size": "%(cl)", "response_status": "%(status)", "response_time": "%(secs)", "uri": "%(uri)"}
1413
logformat-strftime = true

0 commit comments

Comments
 (0)