Optional Configurations

Logging Events: To apply this optional configuration, locate the following XML and remove the comment code at the beginning (!--) and end (--) of the statement for in each of the Miner.Responder.DataServices.exe.config, Miner.Responder.ArchiveServices.exe.config, Miner.Responder.PredictionServices.exe.config, and Miner.Responder.QueryWindowsService.exe.config files. This makes all events that are normally logged through Log4Net (the ones that default to appearing in the Event Log) are instead logged to telemetry.

<log4net>
...
    <appender name="TelemetryAppender" type="Miner.Responder.TelemetryCore.TelemetryLogger, Miner.Responder.TelemetryCore, Version=10.1.0.0, Culture=neutral,PublicKeyToken=196beceb052ed5dc">
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="[%t] %c - %m" />
      </layout>
    </appender>
...
<root>
<appender-ref ref="TelemetryAppender" />

SQLite Users Only: The <add key="TelemetryService.RotateSQLiteStorageOnStartup" value="false"/> appends the Telemetry.db file each time Telemetry runs and is not renamed. If this value is set to true, you then generate a new Telemetry.db file each time Telemetry runs. The previous file is renamed with a date and time stamp in the same database location.

QR code for this page

Was this helpful?