Stackoverflow post is here:
http://stackoverflow.com/questions/17091629/log4net-not-logging-when-deployed?noredirect=1#comment24743599_17091629

Couldn’t get it working when deployed, but someone pointed out that I had to
call XMLConfigurator, which I neglected to do, despite the fact that I have
used log4net dozens of times.  I was also missing the reference to the
log4net section in the "configSections" area of my web.config.

For some reason, the logging still works in my development environment (i.e.
while debugging).

Is this normal?  What causes log4Net to get wired up correctly even without
the correct web.config reference and calling XMLConfigurator?




--
View this message in context: 
http://apache-logging.6191.n7.nabble.com/Log4Net-works-in-Dev-without-calling-XMLConfigurator-tp38348.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

Reply via email to