summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumer/Global.asax.cs')
-rw-r--r--samples/OAuthConsumer/Global.asax.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/samples/OAuthConsumer/Global.asax.cs b/samples/OAuthConsumer/Global.asax.cs
index 10f297e..fbe339f 100644
--- a/samples/OAuthConsumer/Global.asax.cs
+++ b/samples/OAuthConsumer/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...");
+ /// LogProvider.SetCurrentLogProvider(new ....)
+ 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) {