Closed sebinjohn closed 1 year ago
Hi @sebinjohn,
Thanks for filing this issue.
There are always going to be differences of opinion as to what the appropriate severity for a given log line ought to be, e.g. some will find it infuriating that message X isn't visible at INFO, whereas others would find their INFO logs too noisy if X were included.
Because it's so situational, we generally don't accept requests to change log levels unless there's a really compelling argument. There are alternatives to get lower severity logs without changing the system log level for everything, e.g. you can use vault monitor or sys/loggers.
Describe the bug
Logs emitted by a database plugin(v4) is not shown in Vault logs under
info
level.To Reproduce
Test - 1
make start-vault LOG_LEVEL=info
make dev-flow
Test - 2
make start-vault LOG_LEVEL=debug
make dev-flow
Expected behavior In both test cases, the logs should show the string
plugin-mockdb: the type is MOCK
. But it is visible only when vault log level is set to DEBUG.Environment:
vault status
):% vault --version Vault v1.8.1 ('4b0264f28defc05454c31277cfa6ff63695a458d+CHANGES')