[jira] [Created] (OFBIZ-9400) GenericServiceJob.failed(Throwable) avoid logging stacktraces for non technical service semaphore exceptions

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

[jira] [Created] (OFBIZ-9400) GenericServiceJob.failed(Throwable) avoid logging stacktraces for non technical service semaphore exceptions

Nicolas Malin (Jira)
Martin Becker created OFBIZ-9400:
------------------------------------

             Summary: 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)