简体   繁体   中英

Axis2: Load module only once

In our project we are using Axis2 and Rampart. Each time I create a ServiceClient there is a message in the logs that Apache Rampart is loaded. Can it cause performance issues or loading process has some caching inside? Is it possible to load modules once or at least suppress log output?

This is not a recommended solution. But for the worst case you can try this.

In log4j we can disable log for the particular package or particular class. So you can disable the log from that package/class. But other error or any other log from that package/class also not show. Its your own risk.

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