Logging Category to different listeners based on priority?

Topics: Logging Application Block
Apr 3, 2007 at 11:23 PM
Is it possible to route log messages for a given category to different listeners based on priority - at the same time.

For example - if I get a DataAccess Category at priority 2 Log to the database and a flatfile.
If I get a DataAccess Category at Priority 1 log to database and flatfile and send email to a pager.
Apr 4, 2007 at 2:50 AM
No you can't do this. It is possible to do something similar with Severity (TraceEventType) though at the source level.

Tom