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

refactor: use go-logr/logr with log/slog backend #1791

Closed
wants to merge 9 commits into from

Commits on Apr 17, 2024

  1. refactor: use go-logr/logr with log/slog backend

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    769b3fc View commit details
    Browse the repository at this point in the history
  2. Add DefaultLogger() for cmd/controlplane

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    9af4e20 View commit details
    Browse the repository at this point in the history
  3. Change key name from port to bindAddress

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    829c8e6 View commit details
    Browse the repository at this point in the history
  4. Remove WithValues when not creating a new logger

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    8ba4107 View commit details
    Browse the repository at this point in the history
  5. Add error to log in controller/stages/watches.go

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    8513a61 View commit details
    Browse the repository at this point in the history
  6. Modify logic in internal/api/option/log.go

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    1edbe52 View commit details
    Browse the repository at this point in the history
  7. Modify logging in cmd/controlplane

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    aa4336b View commit details
    Browse the repository at this point in the history
  8. Fix little mistakes introduced by rebase

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    56088c2 View commit details
    Browse the repository at this point in the history
  9. Small change in cmd/controlplane/controller.go

    Signed-off-by: Karol Bakunowski <bakunowskikarol@gmail.com>
    bakunowski committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    e02a73a View commit details
    Browse the repository at this point in the history