Hi The log component has many options http://camel.apache.org/log
See the showCaughtException option. On Tue, Aug 14, 2012 at 5:28 PM, Hilde <hilde.sch...@yahoo.de> wrote: > Thanks for you patient. > > Could you please give me some advice how we can log the stack trace > subsequently? We > are using the camel log component after the exchange was gone through JMS: > > log:errorLog?level=ERROR&showAll=true&multiline=true&showStackTrace=true > > However the output inside the file looks as follows: > > 2012-08-14 17:06:54,319 | ERROR | PIC_LOG_SERIVCE] | errorLog > | Exchange[ > , Id:ID-E6520-030W7-55199-1344955353825-7-14 > , ExchangePattern:InOnly > , > Properties:{CamelBinding=org.apache.camel.component.jms.JmsBinding@7ebf324, > CamelToEndpoint=log://errorLog?level=ERROR&multiline=true&showAll=true&showStackTrace=true, > CamelCreatedTimestamp=Tue Aug 14 17:06:54 CEST 2012, > CamelExternalRedelivered=false} > , Headers:{JMSDestination=queue://TOPIC_LOG_SERIVCE, > VELO_LOAD_LOGDIR=c:\dn1\load\logs, VELO_SQLLDR=sqlldr, > JMSTimestamp=1344956814308, VELO_LOAD_INSTALLDIR=c:\dn1\load, > VELO_WORKDIR_REFDATA=c:\dn1\workingDir\08-2012\ref, JMSRedelivered=false, > JMSCorrelationID=null, JMSPriority=4, JMSReplyTo=null, > JMSMessageID=ID:E6520-030W7-55200-1344955354981-5:19:1:1:1, > VELO_CONN_TRANSFORMDB_TLD=TLD/TLD@//esxelx0215:1521/TOC, > CamelFileNameProduced=c:\dn1\load\sql\tld_delete_reference_data.sql, > CamelRedeliveryCounter=0, VELO_FILE_SEP=\, JMSType=null, > VELO_SQLPLUS=sqlplus, CamelRedelivered=false, CamelJmsDeliveryMode=2, > IS_WINDOWS=true, breadcrumbId=ID:E6520-030W7-55200-1344955354981-5:2:1:1:3, > JMSDeliveryMode=2, JMSExpiration=0, JMSXGroupID=null} > , BodyType:IllegalStateException > , Body:java.lang.IllegalStateException: Moving files failed! > , Out: null > ] > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Exception-in-Exchange-is-null-tp5717324p5717333.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen