I don’t recognise the timestamp in the live logs relative to where I am.
2024-08-29T06:18:34.660 app[91852306f50258] syd [info] Data updated in database successfully (ID 19 ); API Status: Work In Progress DB Status: Work In Progress
Where can I adjust this so it matches my timezone?
While this isn’t a direct answer to your question, I strongly recommend against changing the server’s timezone. Keeping servers on UTC is generally more practical, regardless of the timezone of the owners, developers, or users. Even if your app is local, serving users in a single timezone, there are significant benefits to maintaining UTC.
At some point, you might have collaborators from different timezones, or you may need to integrate with third-party APIs that use UTC timestamps. Converting and matching timestamps across different timezones, especially with daylight saving changes, can quickly become a hassle. It’s much easier to adapt to servers running on UTC.
For convenience, if you really need local timestamps, consider streaming logs via log-shipper to a third-party log management platform that adds it’s own timestamps in your local timezone while preserving the original UTC timestamps.
What you said is correct, but I think what OP was asking for is a toggle in the UI to show the UTC timestamps in the browser/system timestamp (not necessarily changing the server timezone.)
Yeah that’s correct. It’s purely from a usability perspective. If I’m troubleshooting something, looking at the log I have to convert the timestamp on the fly which is more difficult than if the log was to show timestamps in my timezone.
But it looks like there’s no easy setting so I might have to continue the “mental” option.