Debug log4net logging settings

  • If you suspect a problem with your log4net configuration for OctoSAM programs, here's how to debug:


    In the .exe.config XML file, enter the following under <appSettings>

    XML
    1. <appSettings>
    2. <add key="log4net.Internal.Debug" value="true"/>

    To redirect the diagnostic messages, add the follwing under <configuration> (right after </log4net>) while changing the path to a valid folder for the initializeData attribute


  • New for OctoSAM 1.9.6 - October 2018

    appSettings are now externalized in the *.appsetings.config file. You should no longer modify the .exe.config file.log4net settings are now in the *.log4net.xml file.