1 Reply Latest reply on Jul 27, 2014 4:14 AM by Malik Haider

    how to reduce the size of the log files.

    cjfranca

      how to reduce the size of the log files.

      core_businessLayerPlugin_tracelog.syslog

       

       

      npm_businessLayerPlugin-bracelog.syslog

       

      logfile.png

        • Re: how to reduce the size of the log files.
          Malik Haider

          Can you go to All Programs -> SolarWinds Orion -> Documentation and Support -> Log Adjuster, and click Reset to Default.

          Set all the logging back to default.

           

          - Upgrade your NPM and Modules so you do not have such issue in feature. /

          -  Alternatively use the remedy action below. 

           

           

          Here's the remedy action:

          1)   Do a backup copy of the 2 files SolarWinds.NPM.BusinessLayer.dll.config and SolarWinds.Orion.Core.BusinessLayer.dll.config

          2)   Stop all Orion Services using the Service Manager

          3)   delete WHOLE "system.diagnostics" part from SolarWinds.NPM.BusinessLayer.dll.config and SolarWinds.Orion.Core.BusinessLayer.dll.config. Examples of the section as below.

          4)   And after that restart all services and delete mentioned log files.

           

           

          System.diagnostics part:

          <system.diagnostics>

              <sources>

                <source name="System.ServiceModel" switchValue="Off,ActivityTracing" propagateActivity="true">

                  <listeners>

                    <add type="System.Diagnostics.DefaultTraceListener" name="Default">

                      <filter type=""/>

                    </add>

                    <add name="ServiceModelTraceListener">

                      <filter type=""/>

                    </add>

                  </listeners>

                </source>

                <source name="System.ServiceModel.MessageLogging" switchValue="Verbose,ActivityTracing">

                  <listeners>

                    <add type="System.Diagnostics.DefaultTraceListener" name="Default">

                      <filter type=""/>

                    </add>

                    <add name="ServiceModelMessageLoggingListener">

                      <filter type=""/>

                    </add>

                  </listeners>

                </source>

              </sources>

              <sharedListeners>

                <add initializeData="c:\temp\Core_BusinessLayerPlugin_tracelog.svclog" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ServiceModelTraceListener" traceOutputOptions="Timestamp">

                  <filter type=""/>

                </add>

                <add initializeData="c:\temp\Core_BusinessLayerPlugin_messages.svlog" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">

                  <filter type=""/>

                </add>

              </sharedListeners>

            </system.diagnostics>