Commits

Sebastian Sdorra committed cb34ed2

fix wrong log message

  • Participants
  • Parent commits 949ef93

Comments (0)

Files changed (1)

File src/main/java/sonia/scm/pam/RegexGecosParser.java

     {
       if (logger.isTraceEnabled())
       {
-        logger.trace("parse gecos '{}' with expression '{}'");
+        logger.trace("parse gecos \"{}\" with expression \"{}\"", gecos,
+          expression);
       }
 
       NamedPattern p = NamedPattern.compile(expression);
             if (logger.isTraceEnabled())
             {
               logger.trace("extracted displayName '{}' from gecos '{}'",
-                           displayName, gecos);
+                displayName, gecos);
             }
 
             user.setDisplayName(displayName);
           else if (logger.isTraceEnabled())
           {
             logger.trace("'{}' is empty in gecos '{}'", GROUP_DISPLAYNAME,
-                         gecos);
+              gecos);
           }
         }
         else if (logger.isTraceEnabled())
         {
           logger.trace("expression '{}' contains no '{}' group", expression,
-                       GROUP_DISPLAYNAME);
+            GROUP_DISPLAYNAME);
         }
 
         if (groupNames.contains(GROUP_MAIL))
         else if (logger.isTraceEnabled())
         {
           logger.trace("expression '{}' contains no '{}' group", expression,
-                       GROUP_MAIL);
+            GROUP_MAIL);
         }
       }
     }