How can I remove log4net debug messages?

Created by: Gunnar Tómas Gunnarsson

In this article, you will read about how to remove log4net debug messages. Log4Net debug messages can be confusing for users and bloat the log files. The log4net messages are redundant but harmless.

 

To get rid of them follow this guide:

  1. Open the execution folder on the machine that is writing the log4net debug messages
    1. On servers, the default path is "C:\Program Files\exMon\bin"
    2. On user machines, the default path is "%localappdata%\exMon Administrator\"
  2. Open the file log4net.config
  3. The second line will look like this:
    <log4net debug="true">
    Change it to:
    <log4net>

Now the log4net debug messages will no longer show up

Note: If you require assistance, please create a support ticket


Gunnar is the author of this solution article.