Development / Stage / Production Server

Report
Developer Workstation: Local View
Logback: AsyncAppender + FileAppender
Web Application Server
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
Logback
FileAppender
File
Rolling 불필요
Async 불필요
Eclipse Plug-in
Log Viewer
Find / Filter
/ Coloring
Developer Workstation: Remote View #1
Logback: SocketAppender + Log Viewer
Web Application Server
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
상시 Monitoring 필요
개발 성숙도 점검 시 활용
Logback
SocketAppender
Lilith
global logging
Find / Filter
/ Coloring
Developer Workstation: Remote View #2
Log4j: SocketHubAppender + Log Viewer
Web Application Server (Local)
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
상시 Monitoring 불필요
3자 Trouble Shooting 시 활용
Log4j
SocketHubAppender
OtrosLogViewer
log4j socket hub
필요 시
UDP 확장
Find / Filter
/ Coloring
Development / Stage / Production Server: Local View #1
Logback: AsyncAppender + FileAppender
Web Application Server (dev/stg/prd)
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
Logback
AsyncAppender
상시 Monitoring 필요
파일, 디스크 용량에 주의할 것
Logback
FileAppender
File
Terminal
tail –f filename.log
Development / Stage / Production Server: Local View #2
Logback: RollingFileAppender + Rolling/Triggering Policy
Web Application Serve
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
Logback
RollingFileAppender
Logback
TimeBasedRollingPolicy
Logback
FixedWindowRollingPolicy
Logback
SizeBasedTriggeringPolicy
File
Terminal
tail –f filename.log
영속적 로그 저장 필요
단일 서버 로그 저장
상시 Monitoring 불필요
시간, 파일, 디스크 용량 감안하여 정책 선택
Development / Stage / Production Server: Remote View #1
Log4j: SocketHubAppender + Log Viewer
Web Application Server
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
상시 Monitoring 필요
개발 성숙도 점검 시 활용
Logback
SocketAppender
Lilith
global logging
Find / Filter
/ Coloring
Development / Stage / Production Server: Remote View #2
Log4j: SocketHubAppender + Log Viewer
Web Application Server
Remote
Request Listerner / Servlet Filter
SLF4J MDC
put(key, value)
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
상시 Monitoring 불필요
3자 Trouble Shooting 시 활용
Log4j
SocketHubAppender
OtrosLogViewer
log4j socket hub
Find / Filter
/ Coloring
Development / Stage / Production Server: Remote View #3
Logback: SocketAppender
Web Application Server
Remote
Request Listerner / Servlet Filter
Assemble
clustered
log
필요 시
UDP 확장
Logback
SimpleSocketServer
SLF4J MDC
put(key, value)
log.info()
SLF4J
log.info()
Service / Manager / DAO
SLF4J MDC
put(key, value)
log.info()
Logback
SocketAppender
필요 시
UDP 확장
Logback
AsyncAppender
Logback
DBAppender
DB
필요 시
SQL 확장
Logback
FileAppender
File
영속적 로그 저장 필요
클러스터링된 서버의 통합 로그 저장

similar documents