[jboss-cvs] JBossAS SVN: r58108 - projects/test/trunk/test/src/main/org/jboss/test/logging

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Nov 4 03:24:10 EST 2006


Author: scott.stark at jboss.org
Date: 2006-11-04 03:24:08 -0500 (Sat, 04 Nov 2006)
New Revision: 58108

Modified:
   projects/test/trunk/test/src/main/org/jboss/test/logging/Log4jLoggingPlugin.java
Log:
Write the location of existing log4j configuration urls to system.err

Modified: projects/test/trunk/test/src/main/org/jboss/test/logging/Log4jLoggingPlugin.java
===================================================================
--- projects/test/trunk/test/src/main/org/jboss/test/logging/Log4jLoggingPlugin.java	2006-11-04 08:00:42 UTC (rev 58107)
+++ projects/test/trunk/test/src/main/org/jboss/test/logging/Log4jLoggingPlugin.java	2006-11-04 08:24:08 UTC (rev 58108)
@@ -63,10 +63,18 @@
       // Use any automatic configuration
       URL url = cl.getResource("log4j.xml");
       if (url != null)
+      {
+         System.err.println("Found log4j.xml: "+url);
+         System.err.flush();
          return;
+      }
       url = cl.getResource("log4j.properties");
       if (url != null)
+      {
+         System.err.println("Found log4j.properties: "+url);
+         System.err.flush();
          return;
+      }
 
       // Setup by hand
       BasicConfigurator.resetConfiguration();




More information about the jboss-cvs-commits mailing list