# -------------------------------------------------------------------------
# root Log Property (Default)
# -------------------------------------------------------------------------
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
# root Log Property (Default)
# -------------------------------------------------------------------------
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
# -------------------------------------------------------------------------
# XXX System 사용 Log Property
# -------------------------------------------------------------------------
# 로그레벨, appender 이름.
log4j.category.XXX.system=DEBUG, XXXsystem, XXXsystemF
log4j.category.XXX.biz=DEBUG, XXXbiz, XXXbizC
# XXX System 사용 Log Property
# -------------------------------------------------------------------------
# 로그레벨, appender 이름.
log4j.category.XXX.system=DEBUG, XXXsystem, XXXsystemF
log4j.category.XXX.biz=DEBUG, XXXbiz, XXXbizC
# -------------------------------------------------------------------------------------------------------
# XXXsystem 에 관한 정보를 설정. (프레임웍)
log4j.additivity.XXX.system=false
# log4j.appender.XXXsystem=org.apache.log4j.ConsoleAppender
# log4j.appender.XXXsystem.layout=org.apache.log4j.PatternLayout
# log4j.appender.XXXsystem.layout.ConversionPattern=%-5p: %c - %m%n
log4j.additivity.XXX.system=false
# log4j.appender.XXXsystem=org.apache.log4j.ConsoleAppender
# log4j.appender.XXXsystem.layout=org.apache.log4j.PatternLayout
# log4j.appender.XXXsystem.layout.ConversionPattern=%-5p: %c - %m%n
# console log (프레임웍)
log4j.appender.XXXsystem=org.apache.log4j.ConsoleAppender
log4j.appender.XXXsystem.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXsystem.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} %-5p: %c - %m%n
log4j.appender.XXXsystem=org.apache.log4j.ConsoleAppender
log4j.appender.XXXsystem.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXsystem.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} %-5p: %c - %m%n
# file log (프레임웍)
log4j.appender.XXXsystemF=org.apache.log4j.DailyRollingFileAppender
log4j.appender.XXXsystemF.ImmediateFlush=true
log4j.appender.XXXsystemF.File=/.../.../.../logs/....ysystem.log
log4j.appender.XXXsystemF.Append=true
log4j.appender.XXXsystemF.DatePattern='.'yyyy-MM-dd
log4j.appender.XXXsystemF.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXsystemF.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} [%C{1}] %-5p %c - %m%n
log4j.appender.XXXsystemF=org.apache.log4j.DailyRollingFileAppender
log4j.appender.XXXsystemF.ImmediateFlush=true
log4j.appender.XXXsystemF.File=/.../.../.../logs/....ysystem.log
log4j.appender.XXXsystemF.Append=true
log4j.appender.XXXsystemF.DatePattern='.'yyyy-MM-dd
log4j.appender.XXXsystemF.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXsystemF.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} [%C{1}] %-5p %c - %m%n
# -------------------------------------------------------------------------------------------------------
# XXXbiz 에 관한 정보를 설정. (...)
log4j.additivity.XXX.biz=false
log4j.additivity.XXX.biz=false
# console log (해외출장)
log4j.appender.XXXbizC=org.apache.log4j.ConsoleAppender
log4j.appender.XXXbizC.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXbizC.layout.ConversionPattern=%-5p: %c - %m%n
log4j.appender.XXXbizC=org.apache.log4j.ConsoleAppender
log4j.appender.XXXbizC.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXbizC.layout.ConversionPattern=%-5p: %c - %m%n
# file log (해외출장)
log4j.appender.XXXbiz=org.apache.log4j.DailyRollingFileAppender
log4j.appender.XXXbiz.ImmediateFlush=true
log4j.appender.XXXbiz.File=/.../.../.../logs/....ysystem.log
log4j.appender.XXXbiz.Append=true
log4j.appender.XXXbiz.DatePattern='.'yyyy-MM-dd
log4j.appender.XXXbiz.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXbiz.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} [%C{1}] %-5p %c - %m%n
log4j.appender.XXXbiz=org.apache.log4j.DailyRollingFileAppender
log4j.appender.XXXbiz.ImmediateFlush=true
log4j.appender.XXXbiz.File=/.../.../.../logs/....ysystem.log
log4j.appender.XXXbiz.Append=true
log4j.appender.XXXbiz.DatePattern='.'yyyy-MM-dd
log4j.appender.XXXbiz.layout=org.apache.log4j.PatternLayout
log4j.appender.XXXbiz.layout.ConversionPattern=%d{<yyyy-MM-dd HH:mm:ss>} [%C{1}] %-5p %c - %m%n
# -------------------------------------------------------------------------------------------------------
'Back-End > Java' 카테고리의 다른 글
Apache Common유틸로 숫자난수 생성 (0) | 2012.07.18 |
---|---|
JSON.simple 라이브러리를 이용한 Java에서 JSON 포맷 문자열 파싱 (0) | 2012.05.07 |
JSON.simple (0) | 2012.05.07 |
Class.forName - 변수로 클래스를 만들때 (0) | 2012.03.06 |
Checked & UnChecked Exception (0) | 2012.02.24 |