Replies: 1 comment
-
I have no experience with log4net, only nlog. But it looks like something similar is possible. You might be able to add the following to the <filter type="log4net.Filter.StringMatchFilter">
<stringToMatch value="AddTriggerPersistenceDelegate" />
<acceptOnMatch value="false" />
</filter> https://stackoverflow.com/questions/11315839/log4net-stringmatchfilter-is-not-filtering-anything |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have enabled Log4net in my quartz setup for a .Net 4.8 framework application but I could not control the loglevel using the log4net configuration. See the configuration settings
In this case I am expecting only informational logs from qurtz library in the log file. But I can see debug logs as well. See that log file content.
Could you please help to hide these logs from log file. I don't need this logs in production environment. But I could not disable the root level log4net configuration to "Infor" instead of "All".
Thanks in advance,
MG
Beta Was this translation helpful? Give feedback.
All reactions