MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    notifications & logging

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 828 Views 2 Watching
    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.
    • S Offline
      sdetweil @BKeyport
      last edited by sdetweil

      @BKeyport those are in the front end modulename.js, so those entries are in the dev window console.

      you can use MMM-Logging to capture and save those to stdout from npm start

      my fork also captures warn, error and info
      and can capture from browser on remote machine
      https://github.com/sdetweil/MMM-Logging

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @BKeyport
        last edited by

        @BKeyport there are a flood of notifications happening

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        BKeyportB 1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @sdetweil
          last edited by

          @sdetweil I see that. How to get the log to go to the log visible to pm2 logs?

          The "E" in "Javascript" stands for "Easy"

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @BKeyport
            last edited by

            @BKeyport have to add the MMM-Logging module

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @BKeyport
              last edited by sdetweil

              @BKeyport ther are two logs

              the node_helper logs to stdout from npm start or pm2 (which does an npm start via the script pm2 starts)

              the modulesname.js runs in the browser and logs to the browser log

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy