• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Time logs format add +02

Firewalling
time logs issue
2
7
1.0k
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.
  • R
    ReneMG
    last edited by Sep 24, 2021, 7:15 PM

    Hi there!
    Today I've started to see The firewall logs in this format:
    2021-09-24 21:09:33.538196 +02
    Where the "+02" never appeared before
    I wonder what is happening since I Haven't changed anything!
    Any suggestions?

    G 1 Reply Last reply Sep 25, 2021, 7:47 AM Reply Quote 0
    • G
      gabacho4 Rebel Alliance @ReneMG
      last edited by Sep 25, 2021, 7:47 AM

      @renemg is the location you live in UTC + 2 ? If so, the log is merely indicating that the time stamp for activity is based on your location versus UTC which is what most computer systems seem to use by default unless adjusted for time zone.

      R 2 Replies Last reply Sep 25, 2021, 8:43 AM Reply Quote 0
      • R
        ReneMG @gabacho4
        last edited by Sep 25, 2021, 8:43 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • R
          ReneMG @gabacho4
          last edited by Sep 25, 2021, 8:45 AM

          @gabacho4 @gabacho4 Yes It's +2 but I'd never seen before this log in this way, is there any setup related?
          Thanks!

          G 1 Reply Last reply Sep 25, 2021, 8:48 AM Reply Quote 0
          • G
            gabacho4 Rebel Alliance @ReneMG
            last edited by gabacho4 Sep 25, 2021, 8:48 AM Sep 25, 2021, 8:48 AM

            @renemg the mere fact that your logs show that time format with the milliseconds means you changed from the default settings. You do this by going to status -> system logs -> settings -> log message format. The default does not give milliseconds or UTC offset, the other option does. At some point, you would have had to make that change.

            R 1 Reply Last reply Sep 25, 2021, 9:54 AM Reply Quote 1
            • R
              ReneMG @gabacho4
              last edited by ReneMG Sep 25, 2021, 9:55 AM Sep 25, 2021, 9:54 AM

              @gabacho4 SOLVED! thanks mate! I was taking a look at that setting too, but I wasn't sure, it was changed to syslog, not default, but I had changed it before without results, when you said this, i tried again and waited for some time and voila! time settings are restored again. The key is that in my case the firewall took a while to apply this setting in the visual logs.
              Thank you very much!

              G 1 Reply Last reply Sep 25, 2021, 10:29 AM Reply Quote 0
              • G
                gabacho4 Rebel Alliance @ReneMG
                last edited by Sep 25, 2021, 10:29 AM

                @renemg glad things are working as desired. I too noticed that it took a few minutes before I started getting the logs to output in the format you were seeing. Just depends on the number of times things hit on your firewall rules. Happy packet pushing!

                1 Reply Last reply Reply Quote 0
                1 out of 7
                • First post
                  1/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.