<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/3043" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-01-18T02:14:37+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/3043</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-18T02:14:37+00:00</updated>

		<published>2022-01-18T02:14:37+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137"/>
		<title type="html"><![CDATA[Log files]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>The log files are invaluable when trying to root out instability and crashes.  With thousands of lines of events, how do you make sense of the logs?  This article explains how to do so.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Activate log files</strong></span><div style="margin-left:3em"><br>If you have not done so already, turn on logging.  Check <strong class="text-strong">Save to file</strong>.  Status button -&gt; Log tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2458" class="postimage" alt="status log_logs.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Understanding the log file</strong></span><div style="margin-left:3em"><br>The log file is really good for providing clues when external functionality that BI depends on is NOT functioning.<br><strong class="text-strong">The <a href="viewtopic.php?f=12&amp;t=2086" class="postlink">Status Log Errors article</a> provides details on error events in the log file.<br>Each error also documents fixes.  If you identify errors, go to the Status Log Errors article, find your error and try to self correct.<br></strong><br>The major categories are:<ul><li>DeepStack:  3rd party solution</li><li>Storage:  Hardware.  Hard drive</li><li>Database: Proxy for hardware issue.  Hard drive</li><li>Recording: Hardware. Hard drive</li><li>GPU: Hardware. GPU</li><li>Memory: Hardware.  Memory</li><li>ONVIF Trigger: Hardware.  Camera</li><li>Registry: Windows</li><li>3rd Party software</li></ul><br>The event code is the first column (digit) in every line.<ul><li>0 = Informational event</li><li>1 = Warning</li><li><strong class="text-strong">2 = Errors</strong></li><li>3 = Motion events</li><li>4 = Check marks</li><li>10 = user access (login / logout)</li></ul>I always look for Errors and try to resolve.<br>Address Warnings when time is available.<br><br><strong class="text-strong">Excel</strong><br>The log files are easy to import into excel.  After doing so, it becomes very easy to process logs that are 1000s of lines long.  One gotcha during the import is to set the date column to Text otherwise the column gets incorrectly translated to a number.<div style="margin-left:3em"><br>1. Once imported, the error code is 2.  Filter the data by error code 2 to easily find all the errors events that occurred on your server.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2404" class="postimage" alt="instability and troubleshooting_error code.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>2.  <strong class="text-strong">For each error, go to the <a href="viewtopic.php?f=14&amp;t=2086" class="postlink">Status log errors</a> file to resolve the issue</strong>.  If you know excel pretty well, it's easy to determine the different types of errors seen by your server.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2405" class="postimage" alt="instability and troubleshooting_errors.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Crashes</strong><br>Filter for the <strong class="text-strong">Restart after unexpected shutdown</strong> events.  If the event exists, the server crashed.  The time stamp of the event BEFORE the Restart line identifies when the crash occurred.<br><br>If the server crashed, good to see if any of the prior events to the crash provides hints as to the cause.  Continue searching up to determine if common events occur before crashes.  The restart lines always state which version of the software was restarted which is usually the version that crashed.  Always good to know.<blockquote class="uncited"><div>One user identified a camera was constantly rebooting at night prior to a BI crash.  Disabling the camera restored stability.<br></div></blockquote>A good best practice is to examine the log file on a weekly/monthly basis for errors and warnings.<br><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Submitting a Ticket</span></strong><div style="margin-left:3em"><br>The point of this guide is NOT to identify errors and email support.  The point of this guide is to identify errors -&gt; read through the details of your errors and apply the suggested fixes to self-correct.<br><br>If still an issue and your error is documented, provide details on what exactly you did to resolve the issue.  Suggested fixes vary depending on the underlying issue. <br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Jan 18, 2022 2:14 am</p><hr />
]]></content>
	</entry>
	</feed>
