Hi

Yeah the wording could be improved. Any recommendation?


On Thu, Dec 1, 2011 at 12:28 AM, Jason Dillon <ja...@planet57.com> wrote:
> Any reason why these are at INFO level in DefaultCamelContext?
>
> <snip>
> if (doNotStartRoutesOnFirstStart) {
>    log.info("Cannot start routes as CamelContext has been configured with 
> autoStartup=false");
> }
> </snip>
>
> <snip>
> if (addingRoute && !autoStartup) {
>    log.info("Cannot start route " + routeService.getId() + " as its 
> configured with autoStartup=false");
>    continue;
> }
> </snip>
>
> The language sounds like something strange/bad happened, but configuring 
> autoStartup=false isn't strange or bad.  I don't get why this detail is 
> logged at INFO.
>
> Its not really a big deal, I was just surprised to see it in my logs after I 
> added a route w/ this set so that I could thread the start of the route in 
> the background.
>
> --jason



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to