I have a problem with enterprise library 5. It\'s writing to the event log all the information I want it to write, however, it is not respecting the severity settings I conf
The behavior you are seeing is part of the .NET API.
There is no level or severity of Critical in the EventLogEntryType Enumeration which is used to log to the EventLog. TraceEventType, which is used by Enterprise Library as well as the .NET tracing infrastructure, does support a Critical severity.
However, inside the System.Diagnostics.EventLogTraceListener
, which is used to log to the EventLog, a Critical TraceEventType
is converted to an Error EventLogEntryType
.
In the Event Viewer there is a filter for Critical but it seems that this level is reserved for low level errors. E.g. kernel related.