/Logging/Global.asax.cs
http://github.com/teamaton/toolbelt · C# · 51 lines · 36 code · 14 blank · 1 comment · 0 complexity · d6878bdeda6cf87a41a36d96b390575d MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Web;
- using System.Web.Security;
- using System.Web.SessionState;
- using log4net.Config;
-
- namespace Logging
- {
- public class Global : System.Web.HttpApplication
- {
-
- protected void Application_Start(object sender, EventArgs e)
- {
- XmlConfigurator.ConfigureAndWatch(new FileInfo(Server.MapPath("web.log4net.config")));
- //XmlConfigurator.Configure();
- }
-
- protected void Session_Start(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_BeginRequest(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_AuthenticateRequest(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_Error(object sender, EventArgs e)
- {
-
- }
-
- protected void Session_End(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_End(object sender, EventArgs e)
- {
-
- }
- }
- }