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

Migrating from go-kit/kit/log to the slimmer go-kit/log #226

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

dannykopping
Copy link
Contributor

go-kit has spun out its logger package, which is all this library uses.

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@dannykopping dannykopping marked this pull request as draft October 15, 2021 14:55
@dannykopping dannykopping marked this pull request as ready for review October 15, 2021 14:55
Copy link
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Changes lgtm; however users should note that Level support does not interop; if they are also using go-kit/kit/log then they need to update.

@dannykopping
Copy link
Contributor Author

@bboreham
Copy link
Collaborator

Does that work? ISTM any time you have level.Debug from the two libraries one of them is not going to work.

@bboreham bboreham merged commit ebe5bdc into weaveworks:master Oct 15, 2021
@dannykopping dannykopping deleted the dannykopping/go-kit branch October 15, 2021 16:21
dannykopping pushed a commit to dannykopping/loki that referenced this pull request Oct 15, 2021
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
slim-bean pushed a commit to grafana/loki that referenced this pull request Oct 15, 2021
* Replacing go-kit/kit/log with go-kit/log

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Appeasing the f&^$ing linter

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Adding depguard

Cleaning go mod

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Updating weaveworks after weaveworks/common#226 was merged

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Appeasing the mod checker

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@bboreham bboreham mentioned this pull request Oct 22, 2021
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.

2 participants