svn commit: r1470391 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1470391 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java

jleroux@apache.org
Author: jleroux
Date: Mon Apr 22 06:11:49 2013
New Revision: 1470391

URL: http://svn.apache.org/r1470391
Log:
A patch from Carsten Schinzer for "LoginServices.userLogin add info to fail message" https://issues.apache.org/jira/browse/OFBIZ-5137

The LoginServices only specify that a user was not found, but it is of interest which user was not found.
I added that to the log message in the error case.




Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java?rev=1470391&r1=1470390&r2=1470391&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java Mon Apr 22 06:11:49 2013
@@ -409,7 +409,7 @@ public class LoginServices {
                     } else {
                         // userLogin record not found, user does not exist
                         errMsg = UtilProperties.getMessage(resource, "loginservices.user_not_found", locale);
-                        Debug.logInfo("[LoginServices.userLogin] : Invalid User : " + errMsg, module);
+                        Debug.logInfo("[LoginServices.userLogin] Invalid User : '" + username + "'; " + errMsg, module);
                     }
                 }
             }