jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1195473 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java
Date Mon, 31 Oct 2011 14:30:06 GMT
Author: angela
Date: Mon Oct 31 14:30:06 2011
New Revision: 1195473

URL: http://svn.apache.org/viewvc?rev=1195473&view=rev
Log:
improve log output

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java?rev=1195473&r1=1195472&r2=1195473&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserManagerImpl.java
Mon Oct 31 14:30:06 2011
@@ -767,18 +767,18 @@ public class UserManagerImpl extends Pro
                     authorz = createUser(n);
                 } else {
                     /* user node outside of configured tree -> return null */
-                    log.error("User node outside of configured user tree ('" + usersPath
+ "') -> Not a valid user.");
+                    log.error("User node '" + path + "' outside of configured user tree ('"
+ usersPath + "') -> Not a valid user.");
                 }
             } else if (n.isNodeType(NT_REP_GROUP)) {
                 if (Text.isDescendant(groupsPath, path)) {
                     authorz = createGroup(n);
                 } else {
                     /* group node outside of configured tree -> return null */
-                    log.error("Group node outside of configured group tree ('" + groupsPath
+ "') -> Not a valid group.");
+                    log.error("Group node '" + path + "' outside of configured group tree
('" + groupsPath + "') -> Not a valid group.");
                 }
             } else {
                 /* else some other node type -> return null. */
-                log.warn("Unexpected user/group nodetype " + n.getPrimaryNodeType().getName());
+                log.warn("Unexpected user/group node type " + n.getPrimaryNodeType().getName());
             }
         } /* else no matching node -> return null */
         return authorz;



Mime
View raw message