summaryrefslogtreecommitdiffstats
path: root/samples/OAuthClient/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthClient/Global.asax.cs')
-rw-r--r--samples/OAuthClient/Global.asax.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/samples/OAuthClient/Global.asax.cs b/samples/OAuthClient/Global.asax.cs
index 77d397e..0553cbc 100644
--- a/samples/OAuthClient/Global.asax.cs
+++ b/samples/OAuthClient/Global.asax.cs
@@ -4,17 +4,16 @@
using System.Linq;
using System.Web;
- public partial class Global : HttpApplication {
+ using DotNetOpenAuth.Logging;
+
+ public partial class Global : HttpApplication {
protected void Application_Start(object sender, EventArgs e) {
- log4net.Config.XmlConfigurator.Configure();
+
Logging.Logger.Info("Sample starting...");
}
protected void Application_End(object sender, EventArgs e) {
Logging.Logger.Info("Sample shutting down...");
-
- // this would be automatic, but in partial trust scenarios it is not.
- log4net.LogManager.Shutdown();
}
protected void Application_Error(object sender, EventArgs e) {