Skip to content

Commit 3f1e9db

Browse files
committed
add logging 전략
1 parent 51862ca commit 3f1e9db

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

‎_wiki/Logging.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout : wiki
3+
title :
4+
summary :
5+
date : 2018-08-28 01:49:43 +0900
6+
updated : 2018-08-28 01:54:27 +0900
7+
tags :
8+
toc : true
9+
public : true
10+
parent :
11+
latex : false
12+
---
13+
* TOC
14+
{:toc}
15+
16+
# Spring Application Logging 전략
17+
18+
* 기본적으로 logback 을 사용하자.
19+
* log를 남기는 전략
20+
* logback 설정은 xml 로 따로 관리하는게 보기 편한다.(spring boot yml에 같이 있는것 보단 따로 명확하게)
21+
* consoleAppender 를 사용하자.
22+
* 왜? servlet 에러(Spring 바깥에서 발생하는)등을 catch 하지 못한다.
23+
* console log 를 monitoring 하는것이 좋다.
24+
25+
# 참고
26+
* http://kwonnam.pe.kr/wiki/java/logback?s[]=logging

‎_wiki/Spring.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout : wiki
33
title : Spring
44
summary : Spring 활용에 관한 모든것
55
date : 2018-08-21 18:28:36 +0900
6-
updated : 2018-08-21 18:31:49 +0900
6+
updated : 2018-08-28 01:49:43 +0900
77
tags :
88
toc : true
99
public : true
@@ -12,3 +12,4 @@ latex : false
1212
---
1313

1414
* [[Srping_Boot_Actuator]]
15+
* [[Logging]]

0 commit comments

Comments
 (0)