Details
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
- relates to
-
SONAR-11077 Logs should help better profile Compute Engine performance hotspots
-
- Closed
-