-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web access log show utc time instead local time with timezone. #3853
Comments
UTC time is intentional. |
It's nice to make it customizable. I see it being useful during the development in particular. @NewUserHa feel free to research improving this and send a PR. |
nginx's access.log is what about |
What is |
|
Ok, I have no objections for changing defaults to use local time instead of UTC. The output should include a timezone offset like @NewUserHa mentioned: |
I would like to PR this too. (though the other one still is not finished)... what about obeying OS or python's timezone info? need import like pytz module for ease? |
Don't follow what is the difference between OS and python TZ info? |
hmm.. maybe someone has different values for OS and python TZ info. |
Resolved by #3860. |
Long story short
in web_.log.py:
the logged time is fixed and is a utc time, not a local time. there's not a easy way to setting it.
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: