Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11094

Add the node name in cluster logs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: Cluster
    • Labels:
      None
    • Edition:
      Data Center
    • Production Notes:
      None

      Description

      In cluster mode (DCE), there's no indication whether the logs are coming from a node or another.
      We should add the node name in the logs.

      Add node name as a new dedicated field in the logs - it would break the current log format but, at the end, would make it clearer in case a tool is used to aggregate logs
      Ex:

      2018.07.18 17:35:14 INFO sonarqube-node-name ce[AWSiOrRM0wkYktcHzt00][o.s.c.t.CeWorkerImpl] Execute task | project=multi-language-multi-module-project | type=REPORT | id=AWSiOrRM0wkYktcHzt00
      

      The default naming of nodes (ex: sonarqube-15f1d6be-d9bf-4bd6-94e7-53c7ce19f3cd) remain the same.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jacek.poreda Jacek Poreda
              Reporter:
              christophe.levis Christophe Levis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: