<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PM2 disable logs]]></title><description><![CDATA[<p dir="auto">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.</p>
<p dir="auto">I’ve looked at the page <a href="http://pm2.keymetrics.io/docs/usage/log-management/" target="_blank" rel="noopener noreferrer nofollow ugc">http://pm2.keymetrics.io/docs/usage/log-management/</a> and they state the following will disable logs</p>
<pre><code>{
  "out_file": "/dev/null",
  "error_file": "/dev/null"
}
</code></pre>
<p dir="auto">but I have no idea where to insert that snippet.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/topic/2715/pm2-disable-logs</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 11:46:44 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2715.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2017 19:20:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PM2 disable logs on Thu, 08 Jun 2017 18:59:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks bhpler!</p>
]]></description><link>https://forum.magicmirror.builders/post/22501</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22501</guid><dc:creator><![CDATA[Chiumanfu]]></dc:creator><pubDate>Thu, 08 Jun 2017 18:59:08 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 disable logs on Thu, 08 Jun 2017 18:37:48 GMT]]></title><description><![CDATA[<p dir="auto">From the page you linked:</p>
<pre><code>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 file
</code></pre>
<p dir="auto">So…</p>
<pre><code>pm2 stop mm
pm2 start mm -o "/dev/null" -e "/dev/null"
pm2 save
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/22499</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22499</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Thu, 08 Jun 2017 18:37:48 GMT</pubDate></item></channel></rss>