Read the statement by Michael Teeuw here.
Log.log message not being displayed
-
Hello, I’m trying to log debug messages using
Log.log
from my module, but the message is not being displayed in terminal. However, logging usingconsole.log
in 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.