- 1 minutes to read

Log4Net Appender, FAQ, Troubleshooting, Common Questions Log4Net Appender, FAQ, troubleshooting, common questions Can I filter which log levels go to Nodinite vs. local file?

Can I filter which log levels go to Nodinite vs. local file?

Can I filter which log levels go to Nodinite vs. local file?

Yes—configure different thresholds per appender in log4net.config. Example: Send only ERROR logs to Nodinite (reduce storage cost, focus on actionable errors), send ERROR+WARN+INFO to local file (debugging, troubleshooting): <root><level value="INFO"/><appender-ref ref="RollingFileAppender"/><appender-ref ref="NodiniteAppender"/></root><appender name="NodiniteAppender"><threshold value="ERROR"/></appender>. Nodinite receives ERROR logs only, local file receives ERROR+WARN+INFO. Use case: Production environment logs millions of INFO entries daily (verbose business transaction logs), sending all to Nodinite costs too much storage—send ERROR only to Nodinite for alerting, keep INFO locally for troubleshooting when ERROR occurs.


See all FAQs: [Troubleshooting Overview][]