On Thu, Feb 18, 2010 at 9:09 AM, Charles Moulliard <[email protected]> wrote: > Hi, > > It is possible to use the class LoggingFeature of CXF inside the Camel CXF > Endpoint to log the IN/OUT traffic coming from/to CXF using the following > bean declaration in the camel cxf:bean defintion : <bean > class="org.apache.cxf.feature.LoggingFeature"/> > > Unfortunately, this class send the IN/OUT information to the System.out > console. > > Does anybody knows a workaround in camel spring DSL to send this information > to a log file using log4j ? >
You should ask at CXF as its a CXF feature. Maybe you can configure it to tell it to use the Logging API from the JDK which can be diverted to log4j. > Kinds regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > twitter : http://twitter.com/cmoulliard > Linkedlin : http://www.linkedin.com/in/charlesmoulliard > > Apache Camel Group : > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
