########################################################################### # # Log4j uses hierarchially named categories matching Java package hierarchies. # # Each category may be assigned a priority level and multiple appenders. # # Categories may be assigned one of the following priorities: # # DEBUG, INFO, WARN, ERROR, FATAL # # Priority levels are ordered as follows: # # DEBUG < INFO < WARN < ERROR < FATAL # # A message must be logged with a priority level >= category priority level, # or it will not be sent to the attached appenders. # # Appenders represent message consumers. Some of the common appenders are: # # * ConsoleAppender - sends messages to System.out or System.err # * FileAppender - sends messages to a file # * JDBCAppender - sends messages to a database via a JDBC driver # * JMSAppender - sends messages to a JMS topic # * SMTPAppender - sends messages via SMTP as email # # For more details, see the Apache Log4j project at # http://jakarata.apache.org/log4j # # # @author Tim Telcik (IT Development, BankWest) # @author Hin Chua (IT Development, BankWest) # @created 28-Feb-2002 # @modified 5-July-2002 # @see http://jakarata.apache.org/log4j # ########################################################################### #################################### # LOG4J SETUP for PROD Environment # #################################### # Enable Log4j internal debugging log4j.debug=false ############## # CATEGORIES # ############## # # Log4j Root Category # log4j.rootCategory=WARN, RootApp #################################################################### # INDN WebApp Root Category : # # Logs INFO, WARN, ERROR, FATAL to StdoutFileApp and StderrFileApp # #################################################################### log4j.category.com.pk=WARN, StdoutApp, StdoutFileApp, StderrFileApp log4j.additivity.com.pk=false ############# # APPENDERS # ############# # # Root Appender # Sends messages to the standard output (stdout) stream. # log4j.appender.RootApp.threshold=WARN log4j.appender.RootApp=org.apache.log4j.RollingFileAppender log4j.appender.RootApp.File=${indn.document.root}/logs/indn_root.log log4j.appender.RootApp.MaxFileSize=1MB log4j.appender.RootApp.MaxBackupIndex=10 log4j.appender.RootApp.layout=org.apache.log4j.PatternLayout log4j.appender.RootApp.layout.ConversionPattern=[%d] [%t] %-5p %c{1}: %x %m %n ############################# # INDN Appenders # ############################# # # Standard Output Appender # Sends messages to the standard output (stdout) stream. # INFO, WARN, ERROR, FATAL # log4j.appender.StdoutApp.threshold=WARN log4j.appender.StdoutApp=org.apache.log4j.ConsoleAppender log4j.appender.StdoutApp.target=System.out log4j.appender.StdoutApp.layout=org.apache.log4j.PatternLayout log4j.appender.StdoutApp.layout.ConversionPattern=[%t] %-5p %c{1}: %m %n # # Standard Output File Appender # Writes all 'stdout' messages to a rolling file # INFO, WARN, ERROR, FATAL # log4j.appender.StdoutFileApp.threshold=WARN log4j.appender.StdoutFileApp=org.apache.log4j.RollingFileAppender log4j.appender.StdoutFileApp.File=${indn.document.root}/logs/indn_stdout.log log4j.appender.StdoutFileApp.MaxFileSize=1MB log4j.appender.StdoutFileApp.MaxBackupIndex=10 log4j.appender.StdoutFileApp.layout=org.apache.log4j.PatternLayout log4j.appender.StdoutFileApp.layout.ConversionPattern=[%d] [%t] %-5p %c{1}: %x %m %n # # Standard Error File Appender # Writes all WARNING and above 'stderr' messages to a rolling file # WARN, ERROR, FATAL # log4j.appender.StderrFileApp.threshold=WARN log4j.appender.StderrFileApp=org.apache.log4j.RollingFileAppender log4j.appender.StderrFileApp.File=${indn.document.root}/logs/indn_stdout.log log4j.appender.StderrFileApp.MaxFileSize=1MB log4j.appender.StderrFileApp.MaxBackupIndex=10 log4j.appender.StderrFileApp.layout=org.apache.log4j.PatternLayout log4j.appender.StderrFileApp.layout.ConversionPattern=[%d] [%t] %-5p %c{1}: %x %m %n