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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to set the timezone for better log reading?

How to set the timezone for better log reading?

Scheduled Pinned Locked Moved Solved Support
logs
4 Posts 3 Posters 858 Views 3 Watching
  • 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by girish
    #1

    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
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      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?

      d19dotcaD 1 Reply Last reply
      0
      • nebulonN nebulon

        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?

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #3

        @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
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

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

          1 Reply Last reply
          1
          • jamesJ james has marked this topic as solved
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search