How do we have the log: component log to a file?

2013-05-07 Thread Chris Wolf
I notice all kinds of options for the log compenent, except for how to
log to a file, as opposed to stdout:
http://camel.apache.org/log.html

I'm sure I'm some obvious piece of documentation on that, but I just
can't find it...
Any help?

Thanks,

Chris


Re: How do we have the log: component log to a file?

2013-05-07 Thread Jon Anstey
The log component utilizes whatever underlying logging mechanism you are
using, like log4j or logback, etc. For log4j just google something like
org.apache.log4j.RollingFileAppender and you'll find config options to add
to log4j.properties.


On Tue, May 7, 2013 at 5:35 PM, Chris Wolf cwolf.a...@gmail.com wrote:

 I notice all kinds of options for the log compenent, except for how to
 log to a file, as opposed to stdout:
 http://camel.apache.org/log.html

 I'm sure I'm some obvious piece of documentation on that, but I just
 can't find it...
 Any help?

 Thanks,

 Chris




-- 
Cheers,
Jon
---
Red Hat, Inc.
Email: jans...@redhat.com
Web: http://redhat.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen