How do I disable log4net status messages to the console?

后端 未结 9 828
悲&欢浪女
悲&欢浪女 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条回答
  •  旧时难觅i
    2021-01-11 17:39

    Could you provide what your log4net config section looks like, or at least how you have it configured? My best guess is that this answer is correct in that you have log4net internal debugging configured. Either that or you're have the source of log4net in your project and you're compiling it with your own code. That would cause it to pick up your configurations and run it the same way.

提交回复
热议问题