Read the statement by Michael Teeuw here.
MMM log files. Where are they hiding?
-
I am working on making modules work for me. I get error messages usually saying “See log file for details” try as I might I have not been able to find the logfile. Can someone point me in the right direction?
Greg
-
@gregorywest if you use pm2, then the pm2 logs command will show the output
they are stored in the ~/.pm2 folder
by convention on linux, files/folders that start with . are hidden from normal file listing
-
@sdetweil Not using pm2. Should I be using it? What is it?
-
@gregorywest pm2 = node process manager (version 2)
it is used to start processes on boot, and also keep them running, if they fail
my install script prompts if u want to use it… and I also provide a separate script to enable it if u change your mind.
I don’t know how to edit the system files for services on all the platforms I use or come in contact with (and don’t WANT to know)
pm2 is the same on every platform . (including windows)
the good news is it captures the content from the thing it started
and lets u examine it live… (and saves it for after the fact)