Limit logs for Cloud Connector Remote Control

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:

  1. Define a specially named log target: <target name="logsForRemoteControl" xsi:type="MemoryRaw" MaxLogsCount="100" />.
  2. 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
    1. <logger name="Transporter*" minlevel="Info" writeTo="logsForRemoteControl" /> logs everything from the transporter with level Info and higher
    2. <logger name="Transporter*" minlevel="Debug" writeTo="logsForRemoteControl" /> logs everything from the transporter with level Debug and higher
    3. <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.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.