[ https://issues.apache.org/jira/browse/CXF-5221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753359#comment-13753359 ]
Freeman Fang commented on CXF-5221: ----------------------------------- Hi, FYI, if you wanna configure the Logging Feature, you can always use the normal spring bean like {code} <cxf:bus> <cxf:features> <bean class="org.apache.cxf.feature.LoggingFeature"> <property name="prettyLogging" value="true"/> </bean> </cxf:features> </cxf:bus> {code} <cxf:logging> just make your configuration simple(I'd say like a shortcut) if you wanna use it in default way, but you can always configure LoggingFeature directly. Freeman > Expose prettyPrinting boolean attribute for loggingFeature > ---------------------------------------------------------- > > Key: CXF-5221 > URL: https://issues.apache.org/jira/browse/CXF-5221 > Project: CXF > Issue Type: Improvement > Components: Core > Affects Versions: 2.7.6 > Reporter: David J. M. Karlsen > Priority: Minor > > See > http://nurkiewicz.blogspot.no/2011/05/enabling-load-balancing-and-failover-in.html > for elaboration. > It would be neat if I was able to toggle pretty printing in the > loggingFeature configuration with: > {noformat} > <cxf:bus> > <cxf:features> > <cxf:logging prettyPrint="${cxf.logging.prettyPrint}"/> > </cxf:features> > </cxf:bus> > {noformat} > instead of having to configure the beans and put them in place for each chain. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira