Setting the log level for the sync package does not work #4251
Labels
C-simple
Minor changes changes, no additional research needed. Good first issue/review.
good first issue
issues that are suitable for first-time contributors.
P-low
this is mostly nice to have.
T-bug
this issue covers unexpected and/or wrong behaviour.
Describe the bug
Setting the log level for the sync package (and possibly others) on the command line (
--log sync=trace
) or in a config file has no effect.Expected Behavior
When the log level is set to
trace
, logs with that level are written to stdout.Current Behavior
When the log level is set to
trace
, logs with that level are not written to stdout.Possible Solution
Pass on the log level to
SyncService
and set it on the logger created in that package.To Reproduce
bin/gossamer --log sync=trace
Specification
1.23.2
development
The text was updated successfully, but these errors were encountered: