camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Multiple file logging
Date Wed, 06 Mar 2013 01:25:31 GMT
You have to configure it in SMX.

In our log "EIP" [1] you can configure the used log name. And in your
"org.ops4j.pax.logging.cfg" config file you can configure in which file
which appender should log.

[1] http://camel.apache.org/logeip.html

Best,
Christian

On Tue, Mar 5, 2013 at 3:56 PM, valerian.merkling <
valerian.merkling@capgemini.com> wrote:

> Hi everyone !
>
> What is already done :
>
> One camel context deployed in one Jar.
>
> Two route inside, one reading files in /route1/in , the other one writing
> them in /route2/out
>
> What i wasn't able to do :
>
> Log (as files)(with <log message=""/>) every things from route 1 in
> /route1/log, and everythings in route 2 in /route2/log/
>
> Is it possible ? How ? Shall i change the servicemix log4J configuration ?
> Or is it in my own jar ?
>
> As far as i tried, my log4J.properties in my bundle is not used :(.
>
> Thanks for your help !
>
> Regards, Valerian
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Multiple-file-logging-tp5728577.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message