Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9400

GenericServiceJob.failed(Throwable) avoid logging stacktraces for non technical service semaphore exceptions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01
    • Component/s: framework
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              mbecker Martin Becker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: