How do I disable log4net status messages to the console?

后端 未结 9 846
悲&欢浪女
悲&欢浪女 2021-01-11 16:44

I am using log4net in my .NET 3.5 console application and would like the log messages I generate to be seen in both the console standard out and the RollingFileAppender. The

9条回答
  •  佛祖请我去吃肉
    2021-01-11 17:29

    Please try to replicate the problem using a new project one step at the time (first reference log4net with no appender, then with the console appender, then with both appenders). If it shows the same behavior, please post the complete config of log4net.

    Also you could try using the configuration samples from log4net Config Examples page.

    Edit: This could be the cause of those messages: How do I enable log4net internal debugging.

提交回复
热议问题