Post
EN

logback 설정 방법 디테일하게 잘나와 있음.

——————– 2019.07.23 —————–

https://meetup.toast.com/posts/149

https://meetup.toast.com/posts/149

(Spring Boot)Logging과 Profile 전략 : TOAST Meetup(Spring Boot)Logging과 Profile 전략meetup.toast.com

———————-  2017-05-24  —————————-

설정 내역

https://github.com/audtjddld/angularjs-springboot-jpa-example/blob/master/demo2/src/main/resources/logback.xml

https://github.com/audtjddld/angularjs-springboot-jpa-example/blob/master/demo2/src/main/resources/logback.xml

audtjddld/angularjs-springboot-jpa-exampleangularjs-springboot-jpa-example - new sample sitegithub.com

—————————– 2015. 12. 30 ———————————-

rollingfileAppender 설정시

에도 저장 경로까지 풀로 써줘야된다.   ``` .%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %n TRACE c:/tmp/rest-demo.log c:/temp/rest-demo.%d{yyyy-MM-dd}.log 30 %d{HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg %n c:/tmp/minutes/rest-demo-minute.%d{yyyy-MM-dd_HH-mm}.log 30 %-4relative [%thread] %-5level %logger{35} - %msg %n ``` ![](/assets/images/posts/220582015539/0529e585f368.gif) 내가 적용했던 pattern %date{yyyy-MM-dd:HH:mm:ss.SSS} %-5level %relative --- [%thread] %logger.%method\(%file:%line\) : %msg %n ---------- 원글 ---------- <http://www.codingpedia.org/ama/how-to-log-in-spring-with-slf4j-and-logback/> <http://www.codingpedia.org/ama/how-to-log-in-spring-with-slf4j-and-logback/> [How to log in Spring with SLF4J and LogbackHow to log in Spring based application with the help of Simple Logging Facade for Java (SLF4J) and Logback.www.codingpedia.org](http://www.codingpedia.org/ama/how-to-log-in-spring-with-slf4j-and-logback/) <http://logback.qos.ch/manual/configuration.html> <http://logback.qos.ch/manual/configuration.html> [Chapter 3: Configurationlogback.qos.ch](http://logback.qos.ch/manual/configuration.html) <http://www.nextree.co.kr/p5584/> <http://www.nextree.co.kr/p5584/> [Logback을 활용한 Remote Logging 구현 사례 | 넥스트리 | NEXTREEwww.nextree.co.kr](http://www.nextree.co.kr/p5584/) <https://meetup.toast.com/posts/149>
This article is licensed under CC BY 4.0 by the author.