You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running vault debug command, then either observe the vault.log while the command is running or examine the vault.log in the archive, there are several empty lines added, noted that they were not added immediately. It also seems to grow in proportion to the runtime of the command.
To Reproduce
Steps to reproduce the behavior:
Run vault debug -duration=2m -interval=15s
Observe the vault.log in the archive
Expected behavior
The vault.log contains only log messages
Environment:
Vault Server Version (retrieve with vault status):
root@b3c7653d03ec:/# vault status
Key Value
--- -----
Recovery Seal Type shamir
Initialized true
Sealed false
Total Recovery Shares 1
Threshold 1
Version 1.11.0+ent
Build Date 2022-06-17T22:49:59Z
Storage Type raft
Cluster Name vault-cluster-2b1c69d5
Cluster ID a4d2af41-cc8e-10a4-9c83-34401c18da41
HA Enabled true
HA Cluster https://vault-server-0-dc1:8201
HA Mode active
Active Since 2022-07-06T12:45:45.641272722Z
Raft Committed Index 321
Raft Applied Index 321
Last WAL 26
Vault CLI Version (retrieve with vault version):
Vault v1.11.0+ent (b61eb07cb09bfd7b0cf0647a9468e94c4419ae6a), built 2022-06-17T22:49:59Z
Server Operating System/Architecture:
Linux b3c7653d03ec 5.13.0-52-generic #59~20.04.1-Ubuntu SMP Thu Jun 16 21:21:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
When running
vault debug
command, then either observe thevault.log
while the command is running or examine thevault.log
in the archive, there are several empty lines added, noted that they were not added immediately. It also seems to grow in proportion to the runtime of the command.To Reproduce
Steps to reproduce the behavior:
vault debug -duration=2m -interval=15s
vault.log
in the archiveExpected behavior
The
vault.log
contains only log messagesEnvironment:
vault status
):vault version
):Vault server configuration file(s):
Additional context
vault-debug-2022-07-06T12-47-17Z.tar.gz
sys/monitor
withcurl
to retrieve logs and see no issue.len(log) > 0
on this block, https://github.com/hashicorp/vault/blob/v1.11.0/command/debug.go#L1083-L1090The text was updated successfully, but these errors were encountered: