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

fix: Bring back private keys logging #1481

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

vavsab
Copy link
Contributor

@vavsab vavsab commented Mar 14, 2024

Description of the change

Benefits

Possible drawbacks

Applicable issues

Additional information

vavsab referenced this pull request Mar 14, 2024
**Description of the change**

Change controller logging to use `log/slog`.

**Benefits**

1. Allow structured logging.
2. Allow changing logging format between text and JSON.
3. Allow changing logging level.

**Possible drawbacks**

N/A

**Applicable issues**

- fixes #1285 

**Additional information**

* I took the liberty of removing log at line 91 in
pkg/controller/main.go as it only served as a separator
* To implement the functionality of `--log-info-to-stdout`, I had to
implement a custom handler that would hand logs down to one of two
slog.Loggers in place of the package in `pkg/log` that handled this
previously

---------

Signed-off-by: M Essam Hamed <github@messam.xyz>
Signed-off-by: Ivan Sabelnikov <ivan@mapped.com>
Copy link
Collaborator

@alemorcuq alemorcuq left a comment

Choose a reason for hiding this comment

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

Thanks! We will include it in this release.

@alemorcuq alemorcuq merged commit 88f3505 into bitnami-labs:main Mar 14, 2024
15 checks passed
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.

3 participants