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

Do not use SLF4J loggers in Topic Operator classes #9619

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Jan 30, 2024

Type of change

  • Bugfix

Description

It looks like 2 classes in the Topic Operator use SLF4J loggers without any obvious reasons. This is likely just by mistake because of a wrong import? This PR changes these loggers to use Log4j2 as the other classes in TO. It also removes SLF4J as a direct dependency to avoid this happening again in the future.

(It also deletes one unnecessary warning suppression)

Checklist

  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

@scholzj scholzj added this to the 0.40.0 milestone Jan 30, 2024
@scholzj
Copy link
Member Author

scholzj commented Jan 31, 2024

/azp run feature-gates-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@see-quick see-quick left a comment

Choose a reason for hiding this comment

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

LGTM, but it should be reviewed by SMEs @tombentley or @fvaleri .

Copy link
Contributor

@fvaleri fvaleri left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@scholzj scholzj merged commit 0ddbac6 into strimzi:main Feb 1, 2024
21 checks passed
adamj-m pushed a commit to jamesfarlow/strimzi-kafka-operator that referenced this pull request Feb 1, 2024
@scholzj scholzj deleted the do-not-use-slf4j-loggers-in-TO branch April 23, 2024 19:20
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.

5 participants