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

replace adapter logger with logr interface #1

Closed
wants to merge 1 commit into from

Conversation

jan-law
Copy link

@jan-law jan-law commented Oct 11, 2023

To replace Opni's zap loggers with slog in rancher/opni#1642, this PR replaces the zap logger with the logr interface, which allows opni to pass in a slog handler at pkg/supportagent/shipper/otlp.go while minimally modifying the adapter code.

This is a temporary fix until this repo gets upgraded to go1.21.

go test is passing, I'm not sure how else to test if existing functionality is preserved?

@jan-law
Copy link
Author

jan-law commented Oct 24, 2023

Moved to rancher-sandbox

@jan-law jan-law closed this Oct 24, 2023
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.

1 participant