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
I just went through this same problem (which, unsurprisingly, is how I found this question).
Anyway, my problem, and possibly yours as well, was caused by a web/app config file setting of "<
log4net debug=true>
". Too obvious, right? I had pasted the skeleton of my app.config settings in from a web snippet, and had focused on the appenders, not really giving the root log4net element a second glance. But there you have it. This is in the FAQ, but again other things caught my eye and not this attribute.