Author: rgrabowski
Date: Tue Jul  5 07:36:09 2005
New Revision: 209283

URL: http://svn.apache.org/viewcvs?rev=209283&view=rev
Log:
Added "external" configType that does not call Configure. This allows other 
layers (most noteably the presentation layer) to configure log4net directly and 
make use of log4net specific features like the MDC and NDC.

Modified:
    ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/Impl/Log4NetLoggerFA.cs

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/Impl/Log4NetLoggerFA.cs
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/Impl/Log4NetLoggerFA.cs?rev=209283&r1=209282&r2=209283&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/Impl/Log4NetLoggerFA.cs 
(original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/Impl/Log4NetLoggerFA.cs Tue 
Jul  5 07:36:09 2005
@@ -76,6 +76,9 @@
                                case "FILE-WATCH":
                                        DOMConfigurator.ConfigureAndWatch( new 
FileInfo( configurationFile ) );
                                        break;
+                               case "EXTERNAL":
+                                       // Log4net will be configured outside 
of IBatisNet
+                                       break;
                                default:
                                        BasicConfigurator.Configure();
                                        break;


Reply via email to