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
auth: streamline logging #25965
auth: streamline logging #25965
Conversation
55f56a3
to
96e6fd8
Compare
|
96e6fd8
to
0dee078
Compare
rebased to |
Currently package auth is using a package global defined logger. Hive provides the possibility to have a logger injected, which provides the context of the hive module. This way refactors all occurrences to use the injected logger by configuring all components accordingly. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit renames the auth module' id from `auth-manager` to `auth`. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit adjusts the log messages by using fields for providing context and by removing the prefix `auth: ` which is redundant to the logger' subsystem. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit adjusts the log messages by using fields for providing context. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
0dee078
to
7e0b8a5
Compare
rebased to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work.
/test |
ci-ginkgo testrun failed with #25964 -> won't retry because it's not required |
This PR streamlines logging within the auth package.
auth:
from the message itself (which is a duplicate of the fieldsubsys
)For more detail - have a look at the individual commits.