Since Indyco Explorer uses log4net, you simply have to add a new appender to the log4net configuration in the "web.config" file (located in the application root).

This way you can instruct Indyco Explorer to send a copy of its logs to your centralized log management system, or everywhere you want.

 

This feature is completely independent of usage feedback


Note that, if the log4net section is not already present in the web.config file, you have to add it beforehand by inserting your custom appender configuration like example below.

 

<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>

  <log4net>
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="log.txt" />
      <appendToFile value="true" />
      <rollingStyle value="Size" />
      <maxSizeRollBackups value="10" />
      <maximumFileSize value="100KB" />
      <staticLogFileName value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
      </layout>
    </appender>
  </log4net>

</configuration>

 

For more information on how to configure your log4net custom logger, please visit official examples and configuration references.