Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7474

Introduce environment variable "DROOLS_LOG_DELAY" for WARN log

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • None
    • Ansible Integration
    • None
    • 2023 Week 24-26 (from Jun 12)
    • 1
    • NEW
    • NEW
    • ---
    • ---

    Description

      Issue Description:

      WARN message is logged when a rule is fired and the pseudo clock is diverged from the real clock. The threshold should be configurable with environment variable. Default value is 5 seconds.
      https://github.com/kiegroup/drools-ansible-rulebook-integration/commit/e8f0fb9e138feedfda1928f4f26a47fc15b9e2fa (<- to be updated)

      The WARN logging was introduced to help debugging when we will hit timer related issues.

      Acceptance Criteria:

      • Introduce environment variable "DROOLS_LOG_DELAY". Its value is a number interpreted as seconds. e.g. DROOLS_LOG_DELAY=10

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: