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 configure.
My exception handling configuration block looks like this:
<exceptionHandlers>
<add name="Logging Exception Handler"
type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging...,"
logCategory="General"
eventId="10000"
severity="Critical"
title="My unknown error"
formatterType="Micros...ExceptionFormatter, Micros...ExceptionHandling"
priority="0" />
</exceptionHandlers>
My event log listener template starts with:
Severity: {severity}{newline}
The event log entry is logged as "Error", not "Critical", however the message that is actually logged contains the text "Severity: Critical"
Any pointers as to how I can actually log an exception as Critical without having to actually write my own exception handler/formatter?