File tree Expand file tree Collapse file tree
src/RedisStackOverflow/RedisStackOverflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public AppHost()
1717
1818 public override void Configure ( Container container )
1919 {
20- //Show StackTrace in Web Service Exceptions
20+ //Show StackTrace in Web Service Exceptions
2121 SetConfig ( new EndpointHostConfig { DebugMode = true } ) ;
22-
22+
2323 //Register any dependencies you want injected into your services
2424 container . Register < IRedisClientsManager > ( c => new PooledRedisClientManager ( ) ) ;
2525 container . Register < IRepository > ( c => new Repository ( c . Resolve < IRedisClientsManager > ( ) ) ) ;
@@ -30,7 +30,7 @@ public class Global : System.Web.HttpApplication
3030 {
3131 protected void Application_Start ( object sender , EventArgs e )
3232 {
33- if ( ConfigUtils . GetAppSetting ( "log" , " false" ) == "true" ) LogManager . LogFactory = new ConsoleLogFactory ( ) ;
33+ if ( ConfigUtils . GetAppSetting ( "log" , false ) ) LogManager . LogFactory = new ConsoleLogFactory ( ) ;
3434 new AppHost ( ) . Init ( ) ;
3535 }
3636 }
You can’t perform that action at this time.
0 commit comments