Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    "power up + xx:yy:zz" message in log files

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    5
    301
    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.
    • mhackneyundefined
      mhackney
      last edited by mhackney

      I'm using the new logging features (RRF >= 3.2.0-beta3 M929) to store in a log file. Normally, we see each log line prefaced with the date/time of the entry. But I'm seeing large groups of log messages over multiple days (so the hours wrap around) with this "power up " message.

      An M905 shows the correct data and time (at least at the time I run it).

      I'd greatly prefer having the explicit date/time at the start of each log line. Anyone have any idea on why I see this isn't the case?

      thanks,
      Michael

      My 3D Printing blog: http://www.sublimelayers.com
      Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

      dc42undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 1
      • dc42undefined
        dc42 administrators @mhackney
        last edited by

        When the Duet powers up, it doesn't know the date/time until an instance of DWC connects to it and informs it of the date/time. That's why it isn't included in the power up message.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @mhackney
          last edited by

          @mhackney would an acceptable work around be for a date-time stamp to be logged when DWC connects and the clock is set?

          www.duet3d.com

          mhackneyundefined 1 Reply Last reply Reply Quote 0
          • mhackneyundefined
            mhackney @T3P3Tony
            last edited by mhackney

            @t3p3tony not sure I understand this, can you explain more please?

            We don't expect our users to use the web interface so we need a mechanism to make sure log entries are time stamped w/o a DWC connection.

            My 3D Printing blog: http://www.sublimelayers.com
            Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

            1 Reply Last reply Reply Quote 0
            • mhackneyundefined
              mhackney
              last edited by

              Ok, I understand the behavior now. This is the very start of a log file. So, if I understand correctly, the DWC login occurred at 00:00:19 after power up, the clock was set and time stamps used after that.

              power up + 00:00:15 [info] Event logging started at level warn
              
              power up + 00:00:15 [info] Running: Duet Ethernet 1.02 or later: 3.2 (2021-01-05)
              
              power up + 00:00:17 [warn] Network running, IP address = X.X.X.X
              
              power up + 00:00:19 [warn] HTTP client Z.Z.Z.Z login succeeded
              2021-02-26 18:43:10 [warn] Date and time set at 
              power up + 00:00:19
              2021-02-26 18:43:11 [warn] HTTP client Z.Z.Z.Z login succeeded
              

              My 3D Printing blog: http://www.sublimelayers.com
              Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA