You didn’t include the configuration for myFileAppender - it’s a little difficult to guess what’s going on without a complete configuration. Can you share the entire log4j.properties file?
> On Jul 7, 2016, at 7:23 AM, mabahma <maba...@hotmail.com> wrote: > > Hello > > i'm using a camel route .. and loggin using log4j.. > > > > # Root logger > log4j.rootLogger=INFO, out > > log4j.logger.org.apache.camel=DEBUG > > > > How can i send the output of this logger into a different file ? > > > I've tried > > > > # Root logger > log4j.rootLogger=INFO, out,myFileAppender > > log4j.logger.org.apache.camel=DEBUG, myFileAppender > > ... > > but didnt work > > Kind regards, > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-logging-tp5784927.html > Sent from the Camel - Users mailing list archive at Nabble.com.