You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Michael Brohl (Jira)" <ji...@apache.org> on 2021/02/01 17:16:00 UTC
[jira] [Commented] (OFBIZ-10507) LoginServices.userLogin: Respond
"fail" instead of "error" to avoid the (automatic service engine) logging
of a stack trace on missing/invalid credentials
[ https://issues.apache.org/jira/browse/OFBIZ-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276496#comment-17276496 ]
Michael Brohl commented on OFBIZ-10507:
---------------------------------------
[~bjugl] can you provide a PR based on your patch?
> LoginServices.userLogin: Respond "fail" instead of "error" to avoid the (automatic service engine) logging of a stack trace on missing/invalid credentials
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-10507
> URL: https://issues.apache.org/jira/browse/OFBIZ-10507
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Benjamin Jugl
> Assignee: Michael Brohl
> Priority: Minor
> Attachments: OFBIZ-10507_org.apache.ofbiz.common.login.LoginServices.patch
>
>
> There are a lot of login-related entries in the logfile, that stem from user related errors (like no or wrong password, user not found and so on). To reduce this, the patch introduces a distinction between ERROR messages and FAIL messages in the Service-Result.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)