-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using logger methods for agent shutdown messaging #328
base: staging
Are you sure you want to change the base?
Conversation
I've gone through all the matches for
|
Currently, the command for deleting a vault is |
No delete should be removed. |
Okay, so I need to rename |
Vaults commands
Secrets commands
This is the current state of |
Don't know about |
What about |
Those commands have not been created yet, as I am now focusing on critical bugs instead of adding more secrets commands. But if they were added, they would like like so:
But this will be done when the relevant commands get created, and is not relevant for this PR. |
Description
Currently, the status of the logger is directly written to the standard error using
proces.stderr.write()
, but that is not ideal. We should be usinglogger
for all messaging and communication.This PR changes the
'Stopping Agent'
message when stopping the agent from writing to standard error to using logger to do it.As #323 is a small change, it will be done alongside this PR, too.
Issues Fixed
Tasks
process.stderr.write()
and replace it withlogger.warn
vaults rm|remove
, etc.Final checklist