Read the statement by Michael Teeuw here.
PM2 disable logs
-
My mirror is at a stable state and I’d like to disable logs. Reason is I have the MMM-SimpleLogo module displaying a live feed from a Foscam IP camera. This camera is notorious for having jpg errors and every frame generates an error in the log. This builds up very fast.
I’ve looked at the page http://pm2.keymetrics.io/docs/usage/log-management/ and they state the following will disable logs
{ "out_file": "/dev/null", "error_file": "/dev/null" }but I have no idea where to insert that snippet.
Thanks
-
From the page you linked:
Options: --merge-logs do not postfix log file with process id --log-date-format prefix logs with formated timestamp -l --log [path] specify entire log file (error and out are both included) -o --output specify out log file -e --error specify error log fileSo…
pm2 stop mm pm2 start mm -o "/dev/null" -e "/dev/null" pm2 save -
Thanks bhpler!
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