-
-
Notifications
You must be signed in to change notification settings - Fork 991
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
slf4j doesn't work on the docker #410
Comments
@nodece Please refer to https://www.slf4j.org/codes.html#StaticLoggerBinder The first phrase is quite relevant:
and also
In any case, this looks like a packaging issue and not an SLF4J issue. |
From the logs, it does seem like what you said, I know this log looks like we are using the slf4j2-api 1.7.x or earlier, I ensure the lib includes slf4j2-api 2.0.12, not 1.7.x. I'm using the same image running on a different OS, it has a different log, how to explain this behavior? In the MacOS, which prints In the Ubuntu, |
Add There are some strange differences in the jars loaded on different platforms. Thanks. |
It does not seem, it is that you are using slf4j 1.7 or earlier.
You have a copy of slf4j-api version 1.7 somewhere else on you class path. As slf4j developers, we cannot investigate issues specific to your environment. |
Right now, I'm working on the Apache Pulsar project, and migrating the slf4j to 2.0.12 from 1.7.36, but it always prints the following log:
please see apache/pulsar#22391, the GHA env is Ubuntu, we are using the testcontainers to run the integration test, and the test image is based on the alpine 3.9:
I'm not sure where the problem is, thanks for your time!
How to reproduce
The text was updated successfully, but these errors were encountered: