Enable Recording Server Log

Index

The following procedure describe how to enable the logging utility for the Devolutions Server Recording Server.

Steps

  1. Edit the log4net.config file located of the Collector and Processor application installation folders. Click on the Explore button of the Recording Server section of the Companions tab on the Devolutions Server Console.

KB8120.png

  1. Set the file value parameter with the full log file path. Ensure that the backslashes are doubled.
  2. Set the level value parameter to ALL.
  3. Restart both Collector and Processor services on the server after any modification of these files.
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
    <file value="c:\\Logs\\collector.log" />
    <appendToFile value="true" />
    <maximumFileSize value="1MB" />
    <maxSizeRollBackups value="5" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date %5level %logger.%method [%line] - MESSAGE: %message%newline %exception" />
    </layout>
  </appender>
  <root>
    <level value="ALL" />
    <appender-ref ref="RollingFile" />
  </root>
</log4net>

Ensure to set the level value back to ERROR and restart the services once the investigation is completed.