Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved How to set the timezone for better log reading?

    Support
    logs
    3
    4
    225
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotca
      d19dotca last edited by girish

      How does one change the timezone so it's easier to view the logs? It would be a huge help in removing the task of converting the time every time I want to look at a certain time in the logs for an event. The logs are in UTC. I saw the documentation here (https://cloudron.io/documentation/settings/#timezone) and tried to run the command but nothing shows in the output, no error, nothing. It's as if functionality here doesn't exist anymore. Any ideas?

      All I want to achieve is reading the system logs and email logs in my time zone rather than UTC (which is what it appears to be - example, it's 8:13 PM Pacific Time on Oct 27, but the logs show the next day (Oct 28) at 3:13 AM.

      If this isn't currently possible, it'd be great to have this feature in the product as a setting.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Yes the logs will always be stashed in UTC as far as I can tell. I think the translation should happen in the logviewer parts, where we maybe should translate the timestamp to browser local time or server local time?

        d19dotca 1 Reply Last reply Reply Quote 0
        • d19dotca
          d19dotca @nebulon last edited by

          @nebulon I would suggest it should be done according to server local time, but either will work. Basically I just want a way to see the logs in a way that makes sense timeline-wise when I need to look for errors that happen at 5 PM Pacific Time for example, want to make sure I'm not going to waste any time by messing up a manual time conversion.

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            For a start, we have added a UI to set the timezone for the next release.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB