Network Management

Move UDT temp logs from the C: drive to another drive

Move UDT temp logs from the C: drive to another drive. User Device Tracker. A log file named UDT_BusinessLayerPlugin_tracelog.svclog in C:\Temp consumes space on the disk.

First published date

11/29/2018 10:56 PM

Last published date

5/14/2019 1:42 PM

Overview

A log file named UDT_BusinessLayerPlugin_tracelog.svclog in C:\Temp consumes space on the disk. 

Product section

User Device Tracker

Cause

When ActivityTracing" propagateActivity="true" is left in the dll folder, it creates excessive log files that prevents user from deleting existing files.  

Resolution

This process removes "ActivityTracing" propagateActivity="true"" from the dll config to keep it from creating excessive log files. Once the right values are in place, the user can now delete any existing log files.   
 

1. Stop all Orion services - Start and stop Orion services.
2. Navigate using the installation path given below: C:\Program Files (x86)\SolarWinds\Orion\UDT\

3. Create a backup of this file: SolarWinds.UDT.BusinessLayer.dll.config and place the file outside of the installation path. 

4. Open the file SolarWinds.UDT.BusinessLayer.dll.config using Notepad and find the content given below: 

<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>
    </sources>


Image for example:





5.Replace the content with the following values: 

<system.diagnostics>
    <sources>
        <source name="System.ServiceModel" switchValue="Off">
            <listeners>
                 <add type="System.Diagnostics.DefaultTraceListener" name="Default">
                     <filter type=""/>
                </add>
                <add name="ServiceModelTraceListener">
                    <filter type=""/>
                </add>
            </listeners>
        </source>   
    </sources>  


6. Start all Orion services. - Start and stop Orion services.