dimanche 8 septembre 2019

Trace.TraceInformation stop working at some point when I am running my program unlocally

I am using Trace.TraceInformation from System.Diagnostics. When my program is running it create std.out file.

The std.out file contains only partial trace information (only first ~10 traces). The Trace.TraceInformation that later in the code are not appearing in the std.out file.

What can be the cause of that? In the configuration I have autoflush=true, so I think the flush is not my problem

   <system.diagnostics>
    <trace autoflush="true" indentsize="0">
      <listeners>
        <add name="myAppInsightsListener" type="Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener" />
      </listeners>
    </trace>
  </system.diagnostics>

Aucun commentaire:

Enregistrer un commentaire