Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-2153

Add properties to the thread context map for logging

    XMLWordPrintable

Details

    Description

      Desired Behavior

      • For logging purposes (Log4j) a number of properties should be available to identify the source of logging.
      • The Controller and Agent adds the following properties to the thread context map associated with the thread that generated the logging event
        • js7.serverId = "Controller:<controllerId>"|"Subagent:<subagentId>" 
          js7.clusterNodeId = "Primary"|"Backup"
      • The value of js7.clusterNodeId is provided depending on the js7.journal.cluster.node.is-backup setting in the controller.conf file: true => "Primary", false => "Backup".

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: