plugins: allow all log levels for external plugins (#23771)

* plugins: allow all log levels for external plugins

* changelog
This commit is contained in:
John-Michael Faircloth
2023-10-20 12:13:06 -05:00
committed by GitHub
parent 6ac6030cb3
commit 2e85fdebbe
2 changed files with 4 additions and 1 deletions

3
changelog/23771.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:improvement
sdk/plugin: Fix an issue where external plugins were not reporting logs below INFO level
```

View File

@@ -97,7 +97,7 @@ func ServeMultiplex(opts *ServeOpts) error {
logger := opts.Logger
if logger == nil {
logger = log.New(&log.LoggerOptions{
Level: log.Info,
Level: log.Trace,
Output: os.Stderr,
JSONFormat: true,
})