K
Keith Langer
I'd like to know if there is a way to dynamically control which trace
listeners get used for logging. For instance, I might want to log in
general to the event log, the console, and a file, but I might want to
log specific errors to only one or two of those sources. The only way
I can see to do that is to remove the listener I don't want to log to,
log the message, and then add the listener. Is there another way?
Also, can a trace listener be set up for database logging or HTTP
posting?
thanks,
Keith
listeners get used for logging. For instance, I might want to log in
general to the event log, the console, and a file, but I might want to
log specific errors to only one or two of those sources. The only way
I can see to do that is to remove the listener I don't want to log to,
log the message, and then add the listener. Is there another way?
Also, can a trace listener be set up for database logging or HTTP
posting?
thanks,
Keith