You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/25 06:48:00 UTC

[jira] [Commented] (CAMEL-13613) Exceptions during Camel Spring Context starting up are hidden

    [ https://issues.apache.org/jira/browse/CAMEL-13613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892460#comment-16892460 ] 

Claus Ibsen commented on CAMEL-13613:
-------------------------------------

Any update on this?

> 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: Minor
>
> 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.14#76016)