# Set root category priority to DEBUG and its appenders to stdout and R.
#log4j.rootCategory=DEBUG, stdout
log4j.rootLogger=DEBUG, stdout, console

#, JDBC
#log4j.logger.com.eactive.eai.rms=DEBUG 

#udp receive
log4j.logger.com.eactive.eai.rms.onl.server=ERROR
#log4j.logger.com.eactive.eai.rms.onl.server.handler=ERROR

log4j.logger.com.eactive.eai.rms.onl.dashboard=ERROR
log4j.logger.com.eactive.eai.rms.common.acl.user.BizDao=DEBUG

log4j.logger.com.eactive.eai.util.TheKPaizUtil=DEBUG


# SECURITY Property
#log4j.logger.com.kbstar.wse.log.AuthLog=DEBUG, WSE_AUTH
# log4j.appender.WSE_AUTH=com.kbstar.wse.log.DatedFileAppender
# log4j.appender.WSE_AUTH.Directory=
# log4j.appender.WSE_AUTH.Prefix=auth.log.
# log4j.appender.WSE_AUTH.Suffix=
# log4j.appender.WSE_AUTH.layout=com.kbstar.wse.log.MacPatternLayout
# log4j.appender.WSE_AUTH.layout.ConversionPattern=[%d] [%p] [%t] [%c] - %m%n
#log4j.appender.WSE_AUTH=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.WSE_AUTH.File=/fslog/eai/${inst.Name}/auth.log
#log4j.appender.WSE_AUTH.layout=com.kbstar.wse.log.MacPatternLayout
#log4j.appender.WSE_AUTH.layout.ConversionPattern=%d %p (%t) %c - %m%n

log4j.logger.org.springframework=ERROR

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %l - %m%n
log4j.appender.console.encoding=ms949

#log4j.appender.file.File=./monitoring.log
#log4j.appender.file.MaxFileSize=1024KB
#log4j.appender.file.MaxBackupIndex=10
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss,SSS}] %5p (%F:%L)  - %m%n


#log4j.appender.stdout=org.apache.log4j.DailyMaxRollingFileAppender
#log4j.appender.stdout.MaxBackupIndex=7
#log4j.logger.STDOUT=DEBUG, stdout
log4j.appender.stdout=com.eactive.eai.rms.common.log4j.appender.CustomDailyRollingFileAppender
log4j.appender.stdout.MaxNumberOfDays=7
log4j.appender.stdout.File=/log/elink/ems/${inst.Name}/ems_stdout.log
log4j.appender.stdout.DatePattern='.'yyyy-MM-dd
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss,SSS}] %5p (%F:%L)  - %m%n
log4j.appender.stdout.encoding=ms949

# RMS ACCESS LOGGER
log4j.logger.ACCESS_LOGGER=DEBUG, access
#log4j.appender.access=org.apache.log4j.DailyMaxRollingFileAppender
#log4j.appender.access.MaxBackupIndex=7
log4j.appender.access=com.eactive.eai.rms.common.log4j.appender.CustomDailyRollingFileAppender
log4j.appender.access.MaxNumberOfDays=7
log4j.appender.access.File=/log/elink/ems/${inst.Name}/ems_access.log
log4j.appender.access.DatePattern='.'yyyy-MM-dd
log4j.appender.access.layout=org.apache.log4j.PatternLayout
log4j.appender.access.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}], %m%n
log4j.appender.access.encoding=ms949

# RMS SMS LOGGER 
log4j.logger.SMS_LOGGER=DEBUG, sms
log4j.appender.sms=com.eactive.eai.rms.common.log4j.appender.CustomDailyRollingFileAppender
log4j.appender.sms.MaxNumberOfDays=7
log4j.appender.sms.File=/log/elink/ems/${inst.Name}/sms.log
log4j.appender.sms.DatePattern='.'yyyy-MM-dd
log4j.appender.sms.layout=org.apache.log4j.PatternLayout
log4j.appender.sms.layout.ConversionPattern=%m%n
log4j.appender.sms.encoding=ms949
#log4j.appender.sms.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}], %m%n
  

# RMS QUERY LOGGER 
log4j.logger.QUERY_LOGGER=DEBUG, query
log4j.appender.query=com.eactive.eai.rms.common.log4j.appender.CustomDailyRollingFileAppender
log4j.appender.query.MaxNumberOfDays=7
log4j.appender.query.File=/log/elink/ems/${inst.Name}/ems_query.log
log4j.appender.query.DatePattern='.'yyyy-MM-dd
log4j.appender.query.layout=org.apache.log4j.PatternLayout
log4j.appender.query.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}], %m%n
log4j.appender.query.encoding=ms949

# RMS DYNAMIC LOGGER
log4j.logger.DYNAMIC_LOGGER=DEBUG, dynamic
log4j.appender.dynamic=com.eactive.eai.rms.common.log4j.appender.CustomDailyRollingFileAppender
log4j.appender.dynamic.MaxNumberOfDays=7
log4j.appender.dynamic.File=/log/elink/ems/${inst.Name}/ems_dynamic.log
log4j.appender.dynamic.DatePattern='.'yyyy-MM-dd
log4j.appender.dynamic.layout=org.apache.log4j.PatternLayout
log4j.appender.dynamic.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}], %m%n
log4j.appender.dynamic.encoding=ms949


# SqlMap logging configuration...
log4j.logger.java.sql=DEBUG, query
log4j.logger.com.ibatis=DEBUG, query
log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG, query
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG, query
log4j.logger.com.ibatis.common.jdbc.logging=DEBUG, query
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG, query
log4j.logger.java.sql.Connection=DEBUG, query
log4j.logger.java.sql.Statement=DEBUG, query
log4j.logger.java.sql.PreparedStatement=DEBUG, query
log4j.logger.java.sql.ResultSet=DEBUG, query
#
log4j.logger.com.eactive.eai.rms.common.base.SchemaIdConfiguredSqlMapTemplate=DEBUG, query

log4j.logger.com.ibatis.sqlmap.engine.builder.xml.XMLSqlSource.parseDynamicTags=DEBUG, query
log4j.logger.com.ibatis.common.xml.NodeletParser=DEBUG, query
log4j.logger.java.util.StringTokenizer.nextToken=DEBUG, query

