0

I am using the NuGet TraceEvent library. I am trying to write Level.Verbose events to the Debug channel; however, the Debug channel is not showing up in EventViewer.

I have tried modifying the manifest to change the default enabled="false" to "true" and then registered it with wevtutil.

 <channels>
  <channel chid="Admin" name="MyApp/Admin" value="16" type="Admin" enabled="true"/>
  <channel chid="Operational" name="MyApp/Operational" value="17" type="Operational" enabled="true"/>
  <channel chid="Debug" name="MyApp/Debug" value="19" type="Debug" enabled="false"/>
 </channels>

There doesn't appear to be anything in the Event Viewer where I can enable the Debug channel.

Jason
  • 4,897
  • 2
  • 33
  • 40

1 Answers1

2

Ran across an excerpt from .NET 4 for Enterprise Architects and Developers.

This MSDN blog post also has some nice procedures and screenshots.

The short answer is in the EventViewer MMC window, toggle the "View" -> "Show Analytic and Debug Logs" window.

Show Analytic and Debug Logs

Jason
  • 4,897
  • 2
  • 33
  • 40