The B1 cloud connector has a companion app which shows a Windows System Tray icon called the Remote Control app. This app exposes a Logs window which shows real-time logs. It is possible (starting with connector version 7.9.5) to control which logs are displayed in this window and with which level of detail, using NLog. There are two parts:
- Define a specially named log target:
<target name="logsForRemoteControl" xsi:type="MemoryRaw" MaxLogsCount="100" />
. - Define a logger which logs to this target. You can configure the logger as described above to log everything (from connector and transporter), just from transporter, the specific level etc. Some examples
<logger name="Transporter*" minlevel="Info" writeTo="logsForRemoteControl" />
logs everything from the transporter with level Info and higher<logger name="Transporter*" minlevel="Debug" writeTo="logsForRemoteControl" />
logs everything from the transporter with level Debug and higher<logger name="*" minlevel="Debug" writeTo="logsForRemoteControl" />
logs everything from the connector AND transporter with level Debug and higher
By default the connector will set up logging for all Transporter messages at level Info.
Comments
0 comments
Please sign in to leave a comment.