JonathanVila
JonathanVila

Reputation: 189

Logging Spring Integration exceptions using Spring Boot

We have experienced some exceptions ( mainly Channel without consumer ) in our Spring Integration pipeline. But those exceptions are lost and we dont see them unless we run the app and look at the console.

Is there any way to log those exceptions to a file ?

Upvotes: 0

Views: 35

Answers (1)

Gary Russell
Gary Russell

Reputation: 174554

Boot uses logback by default. Add a suitably configured logback.xml to the class path.

Upvotes: 1

Related Questions