I’m marking verbose log entries like this:
Logger.Write(new LogEntry
{
Message = "Using debug quote id...",
Severity = TraceEventType.Verbose
});
How do I configure enterprise library event listener to log non-verbose events only
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to set your trace switch to only listen for Warning or Error level events. You can do this in your application .config file.
Check out this article or this one from MSDN.