cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Different time in log files

jcamps
Advisor

Hi all,

oen simple and maybe stupid question:

why I see the date/time in dynatrace log files (Server.0.0.log and so one) with 2 hours less then the time in the server:

time:

Regards!


4 REPLIES 4

franz_soengen
Inactive

Hi Josep,

AppMon log file time stamps are written in UTC to make them comparable if you have deployments over different time zones. CEST is UTC+2.

best regards
Franz


Hello @Franz S.

Do we have any chance to get the actual time (not to confuse ourselves and others) instead of comparing with the UTC or this is an official statement?

Regards,

Babar


Hi @Babar Q.,

see the first answer here: https://answers.dynatrace.com/spaces/148/uem-open-q-a_2/questions/202605/how-to-get-the-correct-timestamp-in-logs-of-appmon.html

The debug flag
com.dynatrace.diagnostics.logging.useLocalTimestampFormat=true
should do the trick.

best regards
Franz


Hello @Franz S.

Thank you for pointing me out to the actual post.

Regards,

Babar