You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.9 KiB
41 lines
1.9 KiB
#==================================================
|
|
#
|
|
# @<COPYRIGHT>@
|
|
#
|
|
#==================================================
|
|
|
|
# ============================================================================ #
|
|
# Set the Logging for the entire Web Application. #
|
|
# The Level can be DEBUG, INFO, WARN, ERROR, FATAL, or OFF #
|
|
# There are two predefined Appenders, TheConsole and AppLogFile #
|
|
# ============================================================================ #
|
|
log4j.rootLogger = WARN, TheConsole
|
|
#log4j.logger.org.apache.commons.httpclient = WARN, TheConsole
|
|
|
|
|
|
# ============================================================================ #
|
|
# The "TheConsole" Appender will write the log message to the console #
|
|
# (System.out) with the pattern specified below #
|
|
# ============================================================================ #
|
|
log4j.appender.TheConsole = org.apache.log4j.ConsoleAppender
|
|
log4j.appender.TheConsole.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.TheConsole.layout.ConversionPattern = %d{MM-dd HH:mm:ss} %x %-5p %c - %m%n
|
|
|
|
|
|
# ============================================================================ #
|
|
# The "AppLogFile" Appender will write the log message to a log file #
|
|
# with the pattern and other attributes specified below. #
|
|
# ============================================================================ #
|
|
log4j.appender.AppLogFile = org.apache.log4j.RollingFileAppender
|
|
log4j.appender.AppLogFile.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.AppLogFile.layout.ConversionPattern = %d{MM-dd HH:mm:ss} %x %-5p %c - %m%n
|
|
log4j.appender.AppLogFile.MaxBackupIndex = 1
|
|
log4j.appender.AppLogFile.MaxFileSize = 10MB
|
|
log4j.appender.AppLogFile.Append = false
|
|
log4j.appender.AppLogFile.File = SoaSampleServices.log
|
|
|
|
|
|
|
|
|
|
|