Debug mode - Windows updater

The Server Density updater has logging built into it, for debugging or locating problems.

The logging is only available in version 1.5.0.0 and above.

This is not enabled by default, but can be enabled with the following steps:

  1.  Right click on Notepad on the start menu and press 'Run as Administrator'.
  2. Copy the following into the newly created file:
    <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <configSections>
          <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
        </configSections>
        <log4net>
          <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
            <layout type="log4net.Layout.PatternLayout">
              <conversionPattern value="%date [%thread] %-5level %logger [%ndc] - 
    %message%newline" />
            </layout>
          </appender>
          <appender name="FileAppender" type="log4net.Appender.FileAppender">
            <file value="updater-log.txt" />
            <appendToFile value="true" />
            <layout type="log4net.Layout.PatternLayout">
              <conversionPattern value="%date [%thread] %-5level %logger 
    [%property{NDC}] - %message%newline" />
            </layout>
          </appender>
          <root>
            <level value="ALL" />
            <appender-ref ref="FileAppender" />
          </root>
        </log4net>
      <startup>
        <supportedRuntime version="v2.0.50727"/>
      </startup>
    </configuration>
  3. Save this file as BoxedIce.ServerDensity.Agent.Downloader.exe.config in   C:\Program Files (x86)\Boxed Ice\Server Density
  4. Navigate to the C:\Program Files (x86)\Boxed Ice\Server Density folder and right click on the BoxedIce.ServerDensity.Agent.Downloader.exe and press 'Run as Adminstrator', or run the update process from the Server Density agent screen.
  5. The log file will be created in this directory as updater-log.txt 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.