I\'m new to log4net, so hopefully this is a really easy question for someone?!
I\'ve got log4net working with the RollingLogFileAppender for my web application. I\'
You can try:
...in your Web.config, and in Global.asax.cs:
protected void Session_Start(object sender, EventArgs e) { log4net.ThreadContext.Properties["SessionID"] = Session.SessionID; log4net.Config.XmlConfigurator.Configure(); }