<?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[creating a logger to capture module console.log&#x2F;Log.log output]]></title><description><![CDATA[<p dir="auto">I have been fighting some crashes for a while, but using the dev window doesn’t help. it dies when Electron dies…</p>
<p dir="auto">I found this logger, and it has helped a LOT…</p>
<p dir="auto">thought others would be interested…</p>
<p dir="auto">you put the javascript in a file (I used js/logger.js)<br />
and then add the two lines to the index.html file (change the path/name of the logger.js file to match what you do)</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/55032227/tips-on-solving-devtools-was-disconnected-from-the-page-and-electron-helper-di/56111557#56111557" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/55032227/tips-on-solving-devtools-was-disconnected-from-the-page-and-electron-helper-di/56111557#56111557</a></p>
<p dir="auto">the log file will be in ~/.config/Electron/logs<br />
(note the leading dot on config)</p>
]]></description><link>https://forum.magicmirror.builders/topic/11714/creating-a-logger-to-capture-module-console-log-log-log-output</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 22:59:21 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11714.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Dec 2019 13:41:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to creating a logger to capture module console.log&#x2F;Log.log output on Mon, 02 Dec 2019 19:54:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> one could just erase the files…   its just a lot to learn for the newer folks, who are already swamped…</p>
]]></description><link>https://forum.magicmirror.builders/post/65379</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65379</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 02 Dec 2019 19:54:11 GMT</pubDate></item><item><title><![CDATA[Reply to creating a logger to capture module console.log&#x2F;Log.log output on Mon, 02 Dec 2019 19:52:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Well, there should be a way to clear the log output once in a while!?<br />
I’ll test it as well…</p>
]]></description><link>https://forum.magicmirror.builders/post/65378</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65378</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 02 Dec 2019 19:52:55 GMT</pubDate></item><item><title><![CDATA[Reply to creating a logger to capture module console.log&#x2F;Log.log output on Mon, 02 Dec 2019 19:51:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> one could submit a PR to include it…   wouldn’t want it on all the time, as it will eat up disk space…</p>
<p dir="auto">MMM-Logging does similar , but always failed for me when the debugger failed…</p>
]]></description><link>https://forum.magicmirror.builders/post/65377</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65377</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 02 Dec 2019 19:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to creating a logger to capture module console.log&#x2F;Log.log output on Mon, 02 Dec 2019 19:48:14 GMT]]></title><description><![CDATA[<p dir="auto">So can we implement it into the code for all to use? What do you think?</p>
]]></description><link>https://forum.magicmirror.builders/post/65376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65376</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 02 Dec 2019 19:48:14 GMT</pubDate></item></channel></rss>