Re: Problem writing camel logs with log4j in a spring-boot application

2018-08-06 Thread Claus Ibsen
On Mon, Aug 6, 2018 at 3:40 PM, RavinderReddy k wrote: > Simple solution is use logback.xml file include in your spring boot > application that's all. > Yeah SB uses logback as the logger impl by default. > On Mon, Aug 6, 2018, 9:37 AM Claus Ibsen wrote: > >> Hi >> >> Its probably more of a

Re: Problem writing camel logs with log4j in a spring-boot application

2018-08-06 Thread RavinderReddy k
Simple solution is use logback.xml file include in your spring boot application that's all. On Mon, Aug 6, 2018, 9:37 AM Claus Ibsen wrote: > Hi > > Its probably more of a Spring Boot question how to configure its logging. > I suggest to study their documentation. > > Camel uses the slf4j-api

Re: Problem writing camel logs with log4j in a spring-boot application

2018-08-06 Thread Claus Ibsen
Hi Its probably more of a Spring Boot question how to configure its logging. I suggest to study their documentation. Camel uses the slf4j-api and that ought to work fine with SB. On Mon, Aug 6, 2018 at 2:33 PM, Ranabroto Ghosh wrote: > Hi > I have a Spring-boot application with Apache Camel.

Problem writing camel logs with log4j in a spring-boot application

2018-08-06 Thread Ranabroto Ghosh
Hi I have a Spring-boot application with Apache Camel. All I am trying to achieve here writing all logs(java log and also camel route level logs using camel 'log' EIP) in a log file using log4j. *My POM: * org.springframework.boot spring-boot-starter-web