Created
August 13, 2015 13:00
-
-
Save jonashackt/dc3747087b7a91a367d8 to your computer and use it in GitHub Desktop.
Activate Logging of SOAP-Messages with Apache CXF directly on the SpringBus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean(name=Bus.DEFAULT_BUS_ID) | |
public SpringBus springBus() { | |
SpringBus springBus = new SpringBus(); | |
LoggingFeature logFeature = new LoggingFeature(); | |
logFeature.setPrettyLogging(true); | |
logFeature.initialize(springBus); | |
springBus.getFeatures().add(logFeature); | |
return springBus; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment