简体   繁体   中英

How to turn off information messages in Apache CXF dynamic client?

I made a dynamic client in java using Apache CXF. It works well and does all the things it is supposed to.

The one thing that is annoying me a bit, is that every time I start the program, it floods the console with information messages.

So I am wondering if it is possible to turn these off somehow? If no then I will just have to live with it.

Disclaimer: I have to admit that I never used CXF.

Judging from the dependencies CXF uses Commons Logging for logging. You should head there in order to find out how to do this. Most commonly this involves finding out who logs what and then raising the log level of those classes to something like ERROR or NONE .

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