This is related to custom a Systems.Diagnostics.TraceListener
<system.diagnostics>
<sources>
<source name="SomeTraceSourceName"
switchType="System.Diagnostics.SourceSwitch"
switchName="SomeSwitchName">
<listeners>
<clear />
<add name="CustomListener"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add name="CustomListener"
type="CustomListener, MyAssembly"
initializeData=""/>
</sharedListeners>
<switches>
<add name="SomeSwitchName" value="4" />
</switches>
</system.diagnostics>
This doesn't happen with the default trace listener.
I found this MSDN post, but ultimately, it didn't prove helpful.