ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Becker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9400) GenericServiceJob.failed(Throwable) avoid logging stacktraces for non technical service semaphore exceptions
Date Sat, 10 Jun 2017 12:08:20 GMT

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

Mime
View raw message