[ 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)
|