.log(LoggingLevel.INFO, LOG_NAME, "Triggered group1/timer1 ${id}");
Thanks to you all guys for helping me on clarifying how to use the log DSL.
Best regards,
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5676078.html
Sen
(LOG_NAME);
> ...
> log.debug("Configuring dummy route");
> from("direct:start").log(LoggingLevel.DEBUG, LOG_NAME, "Processing ${id}");
>
> I still do not get the camel log message. Any ideas?
>
> --
> View this message in context:
>
cessing ${id}");
I still do not get the camel log message. Any ideas?
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675622.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I used:
>> from("direct:start").log(LoggingLevel.DEBUG, "logfile", "Processing ${id}");
>> and
>> from("direct:start").log(LoggingLevel.DEBUG,
>> "com.nestorurquiza.orchestration.camel.route", "Processing ${id}");
>&
quot;Processing ${id}");
> and
> from("direct:start").log(LoggingLevel.DEBUG,
> "com.nestorurquiza.orchestration.camel.route", "Processing ${id}");
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675092.
);
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675092.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ger name if you want
something else.
> Thanks,
> -Nestor
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675066.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
--
Hi Claus,
Thanks for the fast response. Is there a way to ensure they both use the
same container logger?
Thanks,
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675066.html
Sent from the Camel - Users mailing list archive at
ame="spring-event://default"
> 2012-04-29 22:15:28,796 INFO [org.apache.camel.spring.SpringCamelContext] -
> Total 1 routes, of which 1 is started.
> 2012-04-29 22:15:28,796 INFO [org.apache.camel.spring.SpringCamelContext] -
> Apache Camel 2.9.2 (CamelContext: came
for namespace 'krfs-servlet': startup date [Sun Apr 29 22:15:28 EDT 2012];
parent: Root WebApplicationContext]
Thanks in advance,
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5674964.html
Sent from the Camel - Users mailing list archive at Nabble.com.
10 matches
Mail list logo