[logback-dev] svn commit: r2108 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/util

noreply.ceki at qos.ch noreply.ceki at qos.ch
Sun Dec 28 20:46:10 CET 2008


Author: ceki
Date: Sun Dec 28 20:46:10 2008
New Revision: 2108

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java

Log:

ContextInitializer now prints the url it uses for default configuration.
This was requested in LBCLASSIC-55.


Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java	Sun Dec 28 20:46:10 2008
@@ -111,7 +111,7 @@
       sm.add(new InfoStatus("Could NOT find resource [" + resourceName + "]",
           loggerContext));
     } else {
-      sm.add(new InfoStatus("Found resource [" + resourceName + "]",
+      sm.add(new InfoStatus("Found resource [" + resourceName + "] at ["+url.toString()+"]",
           loggerContext));
     }
   }


More information about the logback-dev mailing list