eclipse does not support logback with spring boot

Solutions on MaxInterview for eclipse does not support logback with spring boot by the best coders in the world

showing results for - "eclipse does not support logback with spring boot"
Manuel
23 Jun 2016
1<?xml version="1.0" encoding="UTF-8"?>
2<Configuration>
3  <Appenders>
4    <!-- Console Appender -->
5    <Console name="Console" target="SYSTEM_OUT">
6      <PatternLayout pattern="%d{yyyy-MMM-dd HH:mm:ss a} [%t] %-5level %logger{36} - %msg%n" />
7    </Console>
8    <!-- File Appender -->
9    <File name="File" fileName="d:/app.log">
10      <PatternLayout pattern="%d{yyyy-MMM-dd HH:mm:ss a} [%t] %-5level %logger{36} - %msg%n" />
11    </File>
12    
13  </Appenders>
14
15  <Loggers>
16    <!-- Log everything in custom package -->
17    <Logger name="com.boraji.tutorial.springboot" level="debug" additivity="false">
18      <AppenderRef ref="Console" />
19      <AppenderRef ref="File" />
20    </Logger>
21
22    <!-- Log everything in Spring Boot -->
23    <Logger name="org.springframework.boot" level="debug" additivity="false">
24      <AppenderRef ref="Console" />
25      <AppenderRef ref="File" />
26    </Logger>
27
28    <!-- Log everything in Spring Core -->
29    <Logger name="org.springframework.core" level="debug" additivity="false">
30      <AppenderRef ref="Console" />
31      <AppenderRef ref="File" />
32    </Logger>
33
34    <Root level="error">
35      <AppenderRef ref="Console" />
36      <AppenderRef ref="File" />
37    </Root>
38    
39  </Loggers>
40</Configuration>
similar questions