You do not need to enter custom filters. Assuming you have one specific category, you just need to install the Severity or SourceLevel that you want to register. It looks like you want to set SourceLevel to Information , which "resolves the Critical, Error, Warning, and Information events."
In configuration, it would look something like this:
<categorySources> <add switchValue="Information" name="General"> <listeners> <add name="Formatted EventLog TraceListener" /> </listeners> </add> </categorySources>
From the point of view of best practice, there is not a single right path. Normally, you would probably enable the registration as little information as possible to properly support the application. This will depend on the type of logging you have posted in your application. For most applications, this is likely to be Information or Warning . However, other factors can affect this, including current application stability, operational requirements, etc.
source share