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: Upcoming Release
    • 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.

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Martin,

        Your patch is in trunk at revision: 1804962

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Martin, Your patch is in trunk at revision: 1804962

          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:

              Development