Vyacheslav Boyko created CAMEL-13613:
----------------------------------------
Summary: 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
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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)