logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r569147 - /logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java
Date Thu, 23 Aug 2007 21:17:28 GMT
Author: carnold
Date: Thu Aug 23 14:17:27 2007
New Revision: 569147

URL: http://svn.apache.org/viewvc?rev=569147&view=rev
Log:
Bug 43200: Softened warning message when log4j.dtd resource could not be found

Modified:
    logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java?rev=569147&r1=569146&r2=569147&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/xml/Log4jEntityResolver.java Thu Aug
23 14:17:27 2007
@@ -38,8 +38,8 @@
       Class clazz = getClass();
       InputStream in = clazz.getResourceAsStream("/org/apache/log4j/xml/log4j.dtd");
       if (in == null) {
-	    LogLog.error("Could not find [log4j.dtd]. Used [" + clazz.getClassLoader()
-		     + "] class loader in the search.");
+	    LogLog.warn("Could not find [log4j.dtd] using [" + clazz.getClassLoader()
+		     + "] class loader, parsed without DTD.");
         in = new ByteArrayInputStream(new byte[0]);
       }
 	  return new InputSource(in);



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message