Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the log level for the sync package does not work #4251

Open
haikoschol opened this issue Oct 15, 2024 · 0 comments
Open

Setting the log level for the sync package does not work #4251

haikoschol opened this issue Oct 15, 2024 · 0 comments
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.

Comments

@haikoschol
Copy link
Contributor

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

  • go version: 1.23.2
  • gossamer version: development
@haikoschol haikoschol added T-bug this issue covers unexpected and/or wrong behaviour. P-low this is mostly nice to have. C-simple Minor changes changes, no additional research needed. Good first issue/review. good first issue issues that are suitable for first-time contributors. labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant