Backendless Support
 
Answered

Logging API TimeZone

How to set the correct timeZone in Loggin Api?

Is there a way to set general timeZone for a Standalone Server?

Leave a Comment

Comments (6)

photo
1

I assume you are asking about the timezone which the server puts into the log files. My understanding is the timezone is determined from the locale. What do you see in there?

photo
1

Mark,

I have GTM turn OFF at my Root/logging folder to use UTC but the timestamps are still GTM. Is there a way to specify that in Console or on Logging calls?

Thanks,

Key

photo
1

Hi Key,

I apologize, but I am a bit confused. Do you mean GMT when you say "GTM" ? If yes, then it makes me more confused because GMT and UTC essentially mean the same thing. Please help me out.

Regards,

Mark

photo
1

I apologize for using the wrong term. What I am trying to do is I would like the time stamps for my logging messages local not GMT.

Thanks

photo
2

No problem, Key. Unfortunately, the timezone for the log message timestamp cannot be customized. However, you could include your local timestamp into the actual message, this way you will have full control over the content of the message.

Regards,

Mark

photo
1

Thank you.