Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
0.2
-
None
Description
The logging of all agent components should be prefixed, but the janitor's is not:
2022-03-23T11:00:04.272Z INFO (Main) Running options [./cbhealthagent-linux-amd64]
|
2022-03-23T11:00:04.272Z INFO (Agent Core) Cached credentials not found at /opt/cbhealthagent/cbhealthagent.pw, now waiting to receive credentials from a cluster monitor.
|
2022-03-23T11:00:04.272Z INFO Starting janitor
|
2022-03-23T11:00:04.272Z INFO (Agent Core) Starting Prometheus exporter
|
2022-03-23T11:00:04.273Z INFO (Server) Starting {"port": 9092}
|
2022-03-23T11:00:04.273Z INFO (Agent Core) Startup complete
|
We've likely just forgotten a call to logger.Named("") when creating its logger.