]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-3159 - changed getDomainId() to only dump stack trace when trace enabled....
authorPatrick Schmitz <pschmitz@berkeley.edu>
Mon, 24 Oct 2011 20:14:10 +0000 (20:14 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Mon, 24 Oct 2011 20:14:10 +0000 (20:14 +0000)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java

index 118b4ff120a0c1eebb4fd926253fac1a6c6d984e..c80607d16c1b77520d9506d83ed9db0bdf5c0466 100644 (file)
@@ -809,8 +809,8 @@ public class RepositoryJavaClientImpl implements RepositoryClient<PoxPayloadIn,
                    DocumentModel domain = repoSession.getDocument(docRef);
                    domainId = domain.getId();
                } catch (Exception e) {
-                   if (logger.isDebugEnabled()) {
-                       logger.debug("Caught exception ", e);
+                   if (logger.isTraceEnabled()) {
+                       logger.trace("Caught exception ", e);
                    }
                    //there is no way to identify if document does not exist due to
                    //lack of typed exception for getDocument method