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
Archive.php should log in the system timezone. #3029
Comments
It logs in UTC. it is best practise to log in UTC. |
My point is that all other programs running with piwik are using the system timezone. Thus the best practice does not seem to be pure UTC. I won't reopen it, you are the boss ;) But as a sysadmin currently working with various log files, I feel like it is a bug. I'll try to find some time to add this option to the archive script. |
I hear your feedback, thanks for insisting. It should be a feature request at least (and maybe will be implemented earlier) |
I was about to open a bug ticket about this. At least it looks like a bug... Who doesn't like consistency ? Make it a feature of 2.0 please. Dali |
Maybe this could be an option... but I will not implement myself as I like UTC times. A pull request may be accepted though! |
I"m the next voting the suggestion. Logs are something presented for people :) Logic and presentation are separate concerns, I guess... |
Hi all, I was wondering if there is a problem with the archive process mixing UTC and local timezone. logs extract of 2 last core:archive runs :
|
HI @valmiRe could you please create a separate issue for this bug? |
All other logs are using the system timezone (syslog, nginx, php, etc...). Having piwik logging in its own timezone makes things difficult to debug.
Keywords: timezone archive
The text was updated successfully, but these errors were encountered: