简体   繁体   中英

Jetty Http Client logging

I am using Jetty Http Client v7.5.4. The problem is that all Warn messages are coming on the console. I understand that Jetty uses sl4j. Since my app uses log4j, I have placed slf4j-api-1.6.4.jar and slf4j-log4j12-1.6.4.jar in the classpath.

Is there anything else I need to do so that I can capture the logs in a file?

我猜你应该重定向jetty sysout

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM