MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. cldparisi
    3. Best
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 11
    • Best 4
    • Controversial 0
    • Groups 0

    Best posts made by cldparisi

    • Log.log doesn't work in Module

      Hi all,

      Log.log is the module side (client) and console.log in the NodeJs side (server).

      But in log file there are only Log,log message from default Module (calendar, newsfeed…), for example there aren.t message from MMM-CECControl, MMM-MotionControl, MMM-AlexaControl.

      in documentation ( https://docs.magicmirror.builders/development/logger.html ):
      3a7b375a-f32f-49bc-aa73-3131c04b77a7-image.png

      in MMM-CECControl.js (for example) there is Log.log(…) but in its node_helper.js ther isn’t the require, I add: const Log = require(“…/…/js/logger.js”);
      but it doesn’t change, there aren’t errors butLog doesn’t work

      What am I doing wrong?

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • Raspberry 3 + Ikea Billy

      Re: Raspberry 3 + Ikea Billy

      IMG_2237.jpg

      IMG_2274.jpg

      IMG_2292.jpg

      IMG_2293.jpg

      posted in Show your Mirror
      C
      cldparisi
    • RE: Log.log doesn't work in Module

      @sdetweil ok, ok…logger.js is only a wrapper to use console “like Log” with a same syntax.

      How I can view a client Log?
      is there a script or a module that write a file?

      posted in Troubleshooting
      C
      cldparisi
    • RE: Schedule restart MagicMirror

      @sdetweil said in Schedule restart MagicMirror:

      @cldparisi u have to schedule as the user not root

      Yesss!!

      Now I had edit crontab like pi instead root and It works!

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • 1 / 1