jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r553521 - in /jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi: NodeImpl.java name/NamespaceRegistryImpl.java
Date Thu, 05 Jul 2007 14:32:50 GMT
Author: reschke
Date: Thu Jul  5 07:32:49 2007
New Revision: 553521

URL: http://svn.apache.org/viewvc?view=rev&rev=553521
Log:
Adjust logging severities so that some of TCK test cases do not lead to confusing logging
output.

Modified:
    jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NodeImpl.java
    jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java

Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NodeImpl.java?view=diff&rev=553521&r1=553520&r2=553521
==============================================================================
--- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NodeImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NodeImpl.java
Thu Jul  5 07:32:49 2007
@@ -1468,7 +1468,7 @@
         }
         NodeTypeImpl primaryType = ntMgr.getNodeType(primaryTypeName);
         if (primaryType.isNodeType(mixinName)) {
-            log.error(mixin.getName() + ": already contained in primary node type");
+            log.debug(mixin.getName() + ": already contained in primary node type");
             return false;
         }
 
@@ -1479,7 +1479,7 @@
 
         // check if adding new mixin conflicts with existing nodetypes
         if (entExisting.includesNodeType(mixinName)) {
-            log.error(mixin.getName() + ": already contained in mixin types");
+            log.debug(mixin.getName() + ": already contained in mixin types");
             return false;
         }
 

Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java?view=diff&rev=553521&r1=553520&r2=553521
==============================================================================
--- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java
Thu Jul  5 07:32:49 2007
@@ -304,7 +304,7 @@
                 uri = storage.getURI(prefix);
                 prefixToURI.put(prefix, uri);
             } catch (RepositoryException ex) {
-                log.warn("Internal error while loading registered namespaces.");
+                log.debug("Internal error while loading registered namespaces.");
             }
         }
 
@@ -327,7 +327,7 @@
                 prefix = storage.getPrefix(uri);
                 uriToPrefix.put(uri, prefix);
             } catch (RepositoryException ex) {
-                log.warn("Internal error while loading registered namespaces.");
+                log.debug("Internal error while loading registered namespaces.");
             }
         }
 



Mime
View raw message