[
https://issues.apache.org/jira/browse/CAMEL-13613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857277#comment-16857277
]
Claus Ibsen commented on CAMEL-13613:
-------------------------------------
Do you have a sample project or something that can show and reproduce what you
think is wrong. We need this to investigate, as there are a lot of Camel users
with Spring and errors during startup are surely logged or shown for them.
And next time ask on the user forum for help first.
> Exceptions during Camel Spring Context starting up are hidden
> -------------------------------------------------------------
>
> Key: CAMEL-13613
> URL: https://issues.apache.org/jira/browse/CAMEL-13613
> Project: Camel
> Issue Type: Bug
> Components: camel-spring
> Affects Versions: 2.24.0
> Reporter: Vyacheslav Boyko
> Priority: Major
>
> Seems wrapping exceptions is NOT need in [this
> case|https://github.com/apache/camel/blob/master/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java#L360]
> because of Spring does not catch custom exceptions and [does not log them
> up|https://github.com/spring-projects/spring-framework/blob/master/spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java#L557].
> My log settings are:
> log4j.rootLogger=DEBUG, stdout
> log4j.logger.org.apache.camel=DEBUG, etofile
> log4j.logger.org.apache.camel.spring=DEBUG, etofile
> log4j.logger.org.springframework.context.support=WARN, etofile
> log4j.logger.org.springframework=ERROR
> log4j.logger.org.springframework.web=ERROR
> log4j.logger.org.springframework.security=ERROR
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)