Skip to content

Logging: propagate the log level to the controller-runtime logs#2281

Merged
fedepaol merged 1 commit into
metallb:mainfrom
fedepaol:fixlogging
Feb 19, 2024
Merged

Logging: propagate the log level to the controller-runtime logs#2281
fedepaol merged 1 commit into
metallb:mainfrom
fedepaol:fixlogging

Conversation

@fedepaol

Copy link
Copy Markdown
Member

Until now, controller-runtime logs were running with the default. Here we propagate the loglevel parameter to those logs too.

Note that this might cause less logs than we are used to, when triaging (but it should honor the desire of the user).

Fixes #2161

@oribon oribon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fedepaol fedepaol force-pushed the fixlogging branch 2 times, most recently from 0510801 to 7bf61e8 Compare February 15, 2024 08:57
Until now, controller-runtime logs were running with the default. Here
we propagate the loglevel parameter to those logs too.

Note that this might cause less logs than we are used to, when triaging
(but it should honor the desire of the user).

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
@fedepaol fedepaol added this pull request to the merge queue Feb 19, 2024
Merged via the queue into metallb:main with commit d9ab5ec Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log Level Not Setting

2 participants