Read the statement by Michael Teeuw here.
Log.log message not being displayed
-
Hello, I’m trying to log debug messages using
Log.logfrom my module, but the message is not being displayed in terminal. However, logging usingconsole.login node_helper works.
Is there anything I’m not doing right ? -
@Adman No. Log.log is the module side, console.log is the node_helper side.
For module side, open the developers window, ctrl-shift-i, and select the tab labeled console
There is no way to see the combined log
-
Thanks, did not realize that the message is not being forwarded to terminal :)
-
@Adman Yeh. The module code is running in the browser, and it doesn’t have a stdout handle
-
@Adman https://github.com/shbatm/MMM-Logging might be worth looking in to. I don’t remember exactly how you can set it up, but I think you can get both module and node messages together somehow.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login