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

Standard Commons Logging discovery in action with spring-jcl #843

Open
MarianoLEANCE opened this issue Nov 6, 2024 · 0 comments
Open

Standard Commons Logging discovery in action with spring-jcl #843

MarianoLEANCE opened this issue Nov 6, 2024 · 0 comments

Comments

@MarianoLEANCE
Copy link

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.

A warning indicates that commons-logging is present in the classpath.
By design, spring-jcl should bridge the logs to Log4J.

On version 3.3.5 of spring-boot, 2023.0.3 of spring cloud, maven, java 21.

commons-logging:commons-logging:1.2 is imported by org.apache.httpcomponents:httpclient:4.5.14.

Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.

Using spring initializr, with spring boot 3.3.5, 2023.0.3 of spring cloud, maven, java 21.
Add consul discovery.
Run the project.
The second line of the logs is :
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants