You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Martin Becker (JIRA)" <ji...@apache.org> on 2017/06/10 12:08:20 UTC
[jira] [Updated] (OFBIZ-9400) GenericServiceJob.failed(Throwable)
avoid logging stacktraces for non technical service semaphore exceptions
[ https://issues.apache.org/jira/browse/OFBIZ-9400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Becker updated OFBIZ-9400:
---------------------------------
Attachment: OFBIZ-9400_GenericServiceJobAvoidStacktraceLog.patch
> GenericServiceJob.failed(Throwable) avoid logging stacktraces for non technical service semaphore exceptions
> ------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-9400
> URL: https://issues.apache.org/jira/browse/OFBIZ-9400
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Martin Becker
> Priority: Trivial
> Attachments: OFBIZ-9400_GenericServiceJobAvoidStacktraceLog.patch
>
>
> GenericServicejob.failed(...) logs a stacktrace on every SemaphoreWait and SemaphoreFail exception. The patch changes this for the non-technical service semaphore exceptions to a one liner error logging to avoid polluting the logfile with stacktraces e.g. in a scenario where a service is scheduled in short intervals and fails expected while the former one is still running.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)