Logging Trace Level in Application Evevt Log

Topics: Logging Application Block
Feb 26, 2010 at 7:02 AM


   I am using EntLib 4.1- Logging Application Block in my application. I am using four levels Error, Warning, Info and Trace.

I am using logger.severity property for these levels i.e. Error, Warning, Info and for Trace level I am using Verbose field of TraceEventType.

For first three levels, in Application Event Log I get correct "Type" as either Error, Warning or Info as well as same level in my message but for Verbose I want Trace instead of Verbose.

Is it possible to get this?

Feb 26, 2010 at 8:28 AM


I may say that it would no tbe possible to do that, since that the TraceEventType is a standard .NET class and there's no way that we can modify it.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.