Logging for an HTTP client bean

Cantor, Scott cantor.2 at osu.edu
Mon Dec 11 20:55:07 UTC 2023


> If I do try your last resort of adding jcl-over-slf4j to my war file, where
> would I find the appropriate jar to add?

Maven Central.

I expect Tomcat is interfering and I'm not sure you can fix that given that if it's messing with the logs, it's too late by the time the webapp is involved. That's one reason I spend extra time getting Jetty to use logback when I set it up.

The supposed "isolation" the containers provide is in my experience often broken, and both Tomcat and Jetty interfere with some things, logging being high on that list because of how all of that stuff tends to "auto-configure" based on finding classes or files on the classpath.

-- Scott




More information about the users mailing list