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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • Trunk
    • 17.12.01
    • framework
    • 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

            jleroux Jacques Le Roux
            mbecker Martin Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: