loggingtimezonegoogle-cloud-platform

Change display timezone in Google Cloud Platform logs


How do I change the timezone for the displayed times in Google Cloud Platform logs? It is currently showing the logs with CEST time, and I would like to see UTC time (which is what the sever it is logging always uses).


Solution

  • Update: This answer is now obsolete, as Google changed the UI. See nilpunning's answer below.

    Old answer:

    It is possible to set the time zone, but the feature is almost un-discoverable.

    When viewing your logs,

    1. Open the time range selector menu (the menu which says “Last hour” or similar)
    2. Choose “Jump to time”
    3. In the time picker that appears, choose your time zone and click “Go” (don't worry about the actual time that you're going to)

    Your logging display time zone is now set.