maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r712153 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Date Fri, 07 Nov 2008 15:14:25 GMT
Author: vsiveton
Date: Fri Nov  7 07:14:19 2008
New Revision: 712153

URL: http://svn.apache.org/viewvc?rev=712153&view=rev
Log:
o improved logging

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java?rev=712153&r1=712152&r2=712153&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Fri Nov  7 07:14:19 2008
@@ -530,7 +530,10 @@
             // 3 validate content if doctype or xsd
             if ( hasDoctype || hasXsd )
             {
-                getLog().info( "Validating the content..." );
+                if ( getLog().isDebugEnabled() )
+                {
+                    getLog().debug( "Validating the content..." );
+                }
                 getXmlReader().parse( new InputSource( new ByteArrayInputStream( content.getBytes()
) ) );
             }
         }



Mime
View raw message