Support retuning of log level on spire-agent
The previous issue covered server and agent tuning, and was rebased to server-only and closed successfully.
This issue covers bringing the agent up to the same log level tuning parity as the server.
Post-launch, it would be beneficial to adjust the SPIRE agent log level. The agent should read the initial log level from the config file path / command line options but then accept a cli command to adjust the SPIRE Agent instance previously launched with spire-agent run ...
From prior discussions:
- The Agent instance will accept commands issued from the agent CLI on the agent "admin" UDS.
- This Agent setup will use the same CLI commands as the current spire-server implementation.
Work for the supporting API is already in place in spire-api-sdk, the Agent simply needs to implement and service the API.
Some of the text in this description are referencing the server? This is for the agent, correct?
Yes, this is for the agent. I'll update the items that didn't get edited as I copied from the original effort, which did reference the server.
Great, thanks.
+1 to this :) Would be great to be able to adjust the spire-agent log level on the fly
+1 to this :) Would be great to be able to adjust the spire-agent log level on the fly
+1 same wish from my side.
+1 it would be great