• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 747 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 Away
    sdetweil @BKeyport
    last edited by sdetweil Oct 16, 2022, 12:37 AM Oct 16, 2022, 12:27 AM

    @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 Away
      sdetweil @BKeyport
      last edited by Oct 16, 2022, 12:31 AM

      @BKeyport there are a flood of notifications happening

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Oct 16, 2022, 2:24 AM Reply Quote 0
      • B Offline
        BKeyport Module Developer @sdetweil
        last edited by Oct 16, 2022, 2:24 AM

        @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 Oct 16, 2022, 2:25 AM Reply Quote 0
        • S Away
          sdetweil @BKeyport
          last edited by Oct 16, 2022, 2:25 AM

          @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 Away
            sdetweil @BKeyport
            last edited by sdetweil Oct 16, 2022, 2:29 AM Oct 16, 2022, 2:29 AM

            @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
            1 / 1
            • First post
              6/6
              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