0011912: configure timezone of log timestamp #5894

Closed
Gloirin opened this Issue Jun 9, 2018 · 6 comments

Comments

Projects
None yet
1 participant
@Gloirin

Gloirin commented Jun 9, 2018

Reported by koelschejung on 8 Jun 2016 15:03

Version: Egon Community Edition (2016.03.2)

Hallo,

ich würde gerne vorschlagen wollen, dass man die Serverzeit im Setup oder in der config einrichten kann, damit die tine Logfiles die Zeit wiederspiegeln, in der auch der Server läuft.

Bei steht im Logfile 16 Uhr, obwohl es schon 18 Uhr ist.

Bei owncloud z. B. trägt man dieses in der Config Datei ein.

Zum Debuggen von Fehlern, wäre dieses sehr hilfreich.

Vielen Dank.

@Gloirin Gloirin added this to the 2017.08.9 Community Edition milestone Jun 9, 2018

@Gloirin Gloirin self-assigned this Jun 9, 2018

@Gloirin Gloirin closed this Jun 9, 2018

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by ingoratsdorf on 8 Jun 2016 21:14

I second that. The 10 hour time difference from server ologs to actual time drives me nuts.... ;-)

Gloirin commented Jun 11, 2018

Comment posted by ingoratsdorf on 8 Jun 2016 21:14

I second that. The 10 hour time difference from server ologs to actual time drives me nuts.... ;-)

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 9 Jun 2016 15:37

currently, the tine20 server does everything in UTC and sets the php timezone to UTC. Zend_Log (used for creating the logs) just uses the php date() function and currently does not allow to change the TZ.

maybe we could add this to Tinebase_Log_Formatter::format() to change the timestamp TZ to some configured TZ ...

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 9 Jun 2016 15:37

currently, the tine20 server does everything in UTC and sets the php timezone to UTC. Zend_Log (used for creating the logs) just uses the php date() function and currently does not allow to change the TZ.

maybe we could add this to Tinebase_Log_Formatter::format() to change the timestamp TZ to some configured TZ ...

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 9 Oct 2017 06:34

hi Ingo, thanks for looking at this. give us a shout if you need help with this... :)

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 9 Oct 2017 06:34

hi Ingo, thanks for looking at this. give us a shout if you need help with this... :)

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by ingoratsdorf on 28 Oct 2017 05:59

Okay, created #32

Gloirin commented Jun 11, 2018

Comment posted by ingoratsdorf on 28 Oct 2017 05:59

Okay, created #32

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 9 Nov 2017 16:41

pushed it into gerrit for testing and review.

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 9 Nov 2017 16:41

pushed it into gerrit for testing and review.

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 9 Nov 2017 16:41

https://gerrit.tine20.com/customers/6327

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 9 Nov 2017 16:41

https://gerrit.tine20.com/customers/6327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment