mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
plugins: allow all log levels for external plugins (#23771)
* plugins: allow all log levels for external plugins * changelog
This commit is contained in:
committed by
GitHub
parent
6ac6030cb3
commit
2e85fdebbe
3
changelog/23771.txt
Normal file
3
changelog/23771.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:improvement
|
||||||
|
sdk/plugin: Fix an issue where external plugins were not reporting logs below INFO level
|
||||||
|
```
|
||||||
@@ -97,7 +97,7 @@ func ServeMultiplex(opts *ServeOpts) error {
|
|||||||
logger := opts.Logger
|
logger := opts.Logger
|
||||||
if logger == nil {
|
if logger == nil {
|
||||||
logger = log.New(&log.LoggerOptions{
|
logger = log.New(&log.LoggerOptions{
|
||||||
Level: log.Info,
|
Level: log.Trace,
|
||||||
Output: os.Stderr,
|
Output: os.Stderr,
|
||||||
JSONFormat: true,
|
JSONFormat: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user