Skip to content
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

VAULT-9900: Log rotation for 'agent' and 'server' commands #18031

Merged
merged 44 commits into from
Nov 29, 2022

Conversation

peteski22
Copy link

@peteski22 peteski22 commented Nov 18, 2022

Attempting to bring parity between Vault and Consul for agent and server commands in relation to logging.

This PR builds on #17841 which allowed users to specify a log file path via config or CLI flag when using Vault agent.

The functionality now applies to agent and server commands, but also adds the ability to rotate files with some parameters which affect:

  • Maximum number of log files
  • Maximum log file size
  • Maximum log file duration

Big Kudos to the Consul team, who already had done the hard work writing this code.

Documentation has been updated to reflect the flags available in both of the commands.

@maxb
Copy link
Contributor

maxb commented Apr 27, 2023

After this change, Vault panics when asked to enter recovery mode - #20396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants