Logging working on all environments but one - log4net
On a development environment, my web application is properly logging all
messages. On the stage environment, the session_end event in global.asax
is logged but nothing outside of global.asax gets logged. On dev I can see
a basic log when I launch the application showing me logging on, but
nothing in stage.
-code is same in both environments
-log4net.config is same in both environments
-logger is instantiated in static class, used through whole application.
-global.asax application_start configures logger by building FileInfo
object that points to log4net.config and doing this
log4net.Config.XmlConfigurator.ConfigureAndWatch(file);
Does anyone have any advice? I'm sorry if this question is vague or needs
more information. I'm unsure where to begin with troubleshooting this.
I'll add any requested information.
No comments:
Post a Comment