How do I disable log4net status messages to the console?

后端 未结 9 819
悲&欢浪女
悲&欢浪女 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:32

    Well, it does say that the root logger level is set to DEBUG. Without access to your configuration file or the code from which the logging is initiated, I would guess that you're implicitly using the default values for the root logger, which

    1. Goes to the command line (stdout), and
    2. is DEBUG by default

提交回复
热议问题