Re: Camel Log - Karaf

2016-10-20 Thread Claus Ibsen
Camel uses the id of the route as the logger name by default. If you want to use a different name you can specify the logger name in the On Thu, Oct 20, 2016 at 8:08 PM, ychawla wrote: > Hi Shuston, > I can do log:set DEBUG but then I log everything. I have a file endpoint > that I poll from an

RE: Camel Log - Karaf

2016-10-20 Thread Steve Huston
t; From: ychawla [mailto:premiergenerat...@gmail.com] > Sent: Thursday, October 20, 2016 2:09 PM > To: users@camel.apache.org > Subject: RE: Camel Log - Karaf > > Hi Shuston, > I can do log:set DEBUG but then I log everything. I have a file endpoint > that I > poll from and that

RE: Camel Log - Karaf

2016-10-20 Thread ychawla
Hi Shuston, I can do log:set DEBUG but then I log everything. I have a file endpoint that I poll from and that generates too much logging for it to be useful. Is there a way to isolate it to the route or context level? Thanks, Yogesh -- View this message in context: http://camel.465427.n5.na

RE: Camel Log - Karaf

2016-10-20 Thread Steve Huston
Try log:set DEBUG > -Original Message- > From: ychawla [mailto:premiergenerat...@gmail.com] > Sent: Thursday, October 20, 2016 11:34 AM > To: users@camel.apache.org > Subject: Camel Log - Karaf > > Hello All, > I have a log statement in a camel route that is at the DEBUG loggingLevel: >

Re: camel log taking a string

2015-08-18 Thread Claus Ibsen
Yes its a logging message and only for simple language. And a string is the best to use. http://camel.apache.org/logeip On Wed, Aug 19, 2015 at 6:40 AM, Christophe Pache wrote: > Hello everyone. > > I'm wondering why the log keyword might not take an expression. As far as I > know, the "message

Re: Camel Log Writing

2014-03-14 Thread Willem Jiang
You can define the log append according the package name, I don’t know why you cannot do it? Can you give us an example for you question? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjian

Re: camel log

2013-12-09 Thread Christian Posta
"whatGoesHere" would be the logger name, as in org.apache.camel.processor Glad you figured out what you had issues with. On Mon, Dec 9, 2013 at 3:28 PM, MichaelAtSAG wrote: > I figured this out, had to set the level to INFO. > > Thanks! > > > > -- > View this message in context: > http://camel.

Re: camel log

2013-12-09 Thread MichaelAtSAG
I figured this out, had to set the level to INFO. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/camel-log-tp5744520p5744521.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel log - part of body

2012-02-21 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.html On Tue, Feb 21, 2012 at 5:16 PM, ychawla wrote: > Hello All, > In my camel routes, I use the log component quite a bit.  For example: > > > > Is there a way with the simple language to

Re: Camel log() and log4j MDC

2010-12-09 Thread Claus Ibsen
Camel 3.0 will switch to use slf4j which has such a feature as well. On Fri, Dec 10, 2010 at 5:30 AM, damianharvey wrote: > > Log4j has a nice feature where you can throw variables into the MDC static > class and refer to them in the ConversionPattern in your log4j.properties. > > I am using thi