tag:blogger.com,1999:blog-7656888.post3336022355506282967..comments2023-10-11T04:24:22.301-06:00Comments on Aggregated Intelligence: log4net – configuration via a separate fileRaj Raohttp://www.blogger.com/profile/02773005045522319448noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7656888.post-55966310847378155192010-10-29T08:30:44.576-06:002010-10-29T08:30:44.576-06:00Very good!
Instead of doing the direct call I pre...Very good!<br /><br />Instead of doing the direct call I prefers this:<br /><br />[assembly: log4net.Config.XmlConfigurator(Watch = true, ConfigFile = "log4net.config")]<br /><br />And its important to say that if you put your log4net configuration into a separate file, you have to make sure it is deployed to the application folder! (Properties => Copy to output directory => Copy if newer)<br /><br />Greetings,<br />MarcusAnonymousnoreply@blogger.com