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

[20.x] Fix #315 logger framework incompatibility #317

Closed
wants to merge 1 commit into from

Conversation

Tobianas
Copy link
Contributor

JIRA: LIGHTY-344

Two different logging framework were mixed: Logback and Log4j2, which both implement the org.slf4j.API but are incompatible in this scenario.
Resolve this issue using this solution:
https://stackoverflow.com/questions/45133523/classcaseexception-org-slf4j-impl-simpleloggerfactory-cannot-be-cast-to-ch-qos-l/45136892#45136892

JIRA: LIGHTY-350
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
@ihrasko ihrasko changed the title Fix logger Fix #315 logger framework incompatibility Dec 13, 2024
@Tobianas Tobianas changed the title Fix #315 logger framework incompatibility [20.x] Fix #315 logger framework incompatibility Dec 13, 2024
@ihrasko
Copy link
Collaborator

ihrasko commented Dec 16, 2024

IMO: In case, there is log4j dependency "provided" in some container, etc. This solution is not sufficient.

@ihrasko ihrasko closed this Dec 16, 2024
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