Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1876

Switch to asynchronous loggers

    XMLWordPrintable

Details

    Description

      Current Situation

      • Controller and Agents make use of asynchronous loggers and apply the following properties
        sys.props("log4j2.contextSelector") =
          classOf[org.apache.logging.log4j.core.async.AsyncLoggerContextSelector].getName
        // Use less CPU when idling than default "Timeout":
        sys.props("log4j2.asyncLoggerWaitStrategy") = "Block"
        // Because AsyncLoggerContextSelector flushes:
        sys.props("js7.log4j.immediateFlush") = "false"
        
      • JOC Cockpit makes use of synchronous loggers

      Desired Behavior

      • JOC Cockpit will switch to use of asynchronous loggers similarly to Controller and Agent.

      Attachments

        Activity

          People

            oh Oliver Haufe
            ap Andreas PĆ¼schel
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: