System Setup

SmartLogger Setup - Advanced Log Debugging

Overview

How to install and configure Smartcontroller to enabled more enhanced debugging log outputs for Bepoz Applications. 

Prerequisites​​​​​​​

  • Extract the SmartLogger to Bepoz Directory 


SmartLogger Setup 

  1. Download the

SmartLogger file and extract it to the Bepoz Directory  'C:\\Bepoz\\Smartlogger'

  1. You enable more advanced logging you need to edit the 'smartcontrol.exe.config' file via notepad or notepad++

 

  1. The first edit that needs to be made is to set the Debug level from 'Error' to 'All

  1. To ensure that the output goes to SmartLogger you need to add an 'appender'

Below is the appender for RollingLogFileAppender

  • Add this line of Code.   <appender-ref ref="UdpAppender" />

  1. Below the </Root> you need to add the following lines of Code.

<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
<remoteAddress value="127.0.0.1" />
<remotePort value="7071" />
<layout type="log4net.Layout.XmlLayoutSchemaLog4j" />
<!--
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="FATAL" />
</filter>
-->
</appender>

  1. Save the 'smartcontrol.exe.config' file 

  1. Restart Smartcontroller 

  1. Run SmartLogger