asp.net - Custom log4net appender it is not working unless I am actively debugging the application -
asp.net - Custom log4net appender it is not working unless I am actively debugging the application -
i’ve created custom log4net appender, works great when debugging application, deploy application (even in debug mode) stops working.
if remote debug on server (by attaching process) custom appender works fine.
i've added assemblyinfo.cs. [assembly: log4net.config.xmlconfigurator(watch = true)]
and in application_start within global.asax file have: log4net.config.xmlconfigurator.configure();
one thing notice, deployed application phone call method activateoptions(), either not calling append(loggingevent loggingevent) or not working.
i appreciate help.
asp.net log4net log4net-appender
Comments
Post a Comment