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

auth: streamline logging #25965

Merged
merged 4 commits into from
Jun 8, 2023

Commits on Jun 8, 2023

  1. auth: replace global logger with injected one

    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>
    mhofstetter committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    1ee79c4 View commit details
    Browse the repository at this point in the history
  2. auth: rename module from auth-manager to auth

    This commit renames the auth module' id from `auth-manager` to `auth`.
    
    Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
    mhofstetter committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    6426070 View commit details
    Browse the repository at this point in the history
  3. auth: adjust logmessages

    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>
    mhofstetter committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    4c931e9 View commit details
    Browse the repository at this point in the history
  4. auth: adjust logmessages in spire module

    This commit adjusts the log messages by using fields for providing
    context.
    
    Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
    mhofstetter committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    7e0b8a5 View commit details
    Browse the repository at this point in the history