#----------------------------------------------------------------------------- # This is the ROOT CATEGORY (Logger) for your application. # Unless specified otherwise, for seperate subsections of the system, # all messages of level WARN and below (ERROR and FATAL) will be logged. # To have the whole application log at DEBUG level simply change the # word WARN to DEBUG immediately following the equals symbol. # # Including the Console appender in the rootCategory means that the messages # will also be written to Tomcat's standard output stream/file, which may # not be desirable in production systems. #----------------------------------------------------------------------------- log4j.rootCategory=INFO,RFile log4j.logger.license=DEBUG,LicenseFile,LicenseEmail log4j.logger.security=DEBUG,SecurityFile,SecurityEmail log4j.logger.outbound=DEBUG,OutboundLogger log4j.logger.outboundRemDial=DEBUG,OutboundRemDial #----------------------------------------------------------------------------- # For a hosted environment the entries below should be set to FATAL in order # to avoid filling the platform log file with entries that are caused by # user-defined application messages and errors. #----------------------------------------------------------------------------- log4j.logger.com.speechstorm.fish.runtime.VuiContext.ApplicationMessage=INFO log4j.logger.com.speechstorm.fish.sms.InboundSMSContext.ApplicationMessage=INFO #----------------------------------------------------------------------------- # Class-specific logging overrides #----------------------------------------------------------------------------- #log4j.logger.com.kainos=DEBUG #log4j.logger.com.speechstorm=DEBUG #log4j.logger.org.apache.jsp=DEBUG #log4j.logger.java.sql=DEBUG log4j.logger.com.speechstorm.fish.backlog.Monitor=INFO log4j.logger.com.speechstorm.fish.backlog.BacklogProcessorThread=INFO log4j.logger.com.speechstorm.fish.db.DBRunner=ERROR log4j.logger.org.apache.commons.configuration.ConfigurationFactory=ERROR log4j.logger.httpclient.wire.header=WARN log4j.logger.org.apache.commons.httpclient=WARN #============================================================================= # APPENDER DEFINITIONS #============================================================================= #----------------------------------------------------------------------------- # The definition for the Console appender # This logs all messages to standard out #----------------------------------------------------------------------------- log4j.appender.Console=org.apache.log4j.ConsoleAppender log4j.appender.Console.layout=org.apache.log4j.PatternLayout log4j.appender.Console.layout.ConversionPattern=[%-5p] %d (%t:%X{JSESSIONID}:%X{CallId}:%X{ANI}) %c.%m%n #----------------------------------------------------------------------------- # The definition for the Rolling File Appender # This logs all info to the specified file - make sure the filename is unique! # # By default this will create ten files of 1meg in size before # Writing over the contents of existing files. # The current file will have the name specified in the # log4j.appender.RFile.File property. # Older files will have a .1, .2, .3 etc extension #----------------------------------------------------------------------------- log4j.appender.RFile=org.apache.log4j.RollingFileAppender log4j.appender.RFile.File=${catalina.base}/logs/fish.log log4j.appender.RFile.encoding=UTF-8 log4j.appender.RFile.MaxFileSize=10240KB log4j.appender.RFile.MaxBackupIndex=10 log4j.appender.RFile.layout=org.apache.log4j.PatternLayout log4j.appender.RFile.layout.ConversionPattern=[%-5p] %d (%t:%X{JSESSIONID}:%X{CallId}:%X{ANI}) %c.%m%n #----------------------------------------------------------------------------- # The definition for the Daily Rolling File Appender # This logs all info to the specified file - make sure the filename is unique! # # By default this will create a new log file every day. # The current file will have the name specified in the # log4j.appender.RFile.File property. # Older files will have a date suffix e.g. "fish.log.2009-12-31". #----------------------------------------------------------------------------- log4j.appender.DFile=org.apache.log4j.DailyRollingFileAppender log4j.appender.DFile.File=${catalina.base}/logs/fish.log log4j.appender.DFile.encoding=UTF-8 log4j.appender.DFile.DatePattern='.'yyyy-MM-dd log4j.appender.DFile.layout=org.apache.log4j.PatternLayout log4j.appender.DFile.layout.ConversionPattern=[%-5p] %d (%t:%X{JSESSIONID}:%X{CallId}:%X{ANI}) %c.%m%n #----------------------------------------------------------------------------- # The definition for the License log file and email appenders # # The file rollover rules are the same as for the RFile appender above #----------------------------------------------------------------------------- log4j.appender.OutboundLogger=org.apache.log4j.DailyRollingFileAppender log4j.appender.OutboundLogger.File=${catalina.base}/logs/fish-outbound.log log4j.appender.OutboundLogger.encoding=UTF-8 log4j.appender.OutboundLogger.DatePattern='.'yyyy-MM-dd log4j.appender.OutboundLogger.layout=org.apache.log4j.PatternLayout log4j.appender.OutboundLogger.layout.ConversionPattern=%d %m%n log4j.appender.OutboundRemDial=org.apache.log4j.DailyRollingFileAppender log4j.appender.OutboundRemDial.File=${catalina.base}/logs/fish-outbound-remdial.log log4j.appender.OutboundRemdial.encoding=UTF-8 log4j.appender.OutboundRemDial.DatePattern='.'yyyy-MM-dd log4j.appender.OutboundRemDial.layout=org.apache.log4j.PatternLayout log4j.appender.OutboundRemDial.layout.ConversionPattern=%d %m%n #----------------------------------------------------------------------------- # The definition for the License log file and email appenders # # The file rollover rules are the same as for the RFile appender above #----------------------------------------------------------------------------- log4j.appender.LicenseFile=org.apache.log4j.RollingFileAppender log4j.appender.LicenseFile.File=${catalina.base}/logs/fish-license.log log4j.appender.LicenseFile.encoding=UTF-8 log4j.appender.LicenseFile.MaxFileSize=10240KB log4j.appender.LicenseFile.MaxBackupIndex=10 log4j.appender.LicenseFile.layout=org.apache.log4j.PatternLayout log4j.appender.LicenseFile.layout.ConversionPattern=%d %m%n log4j.appender.LicenseEmail=org.apache.log4j.net.SMTPAppender log4j.appender.LicenseEmail.BufferSize=1 log4j.appender.LicenseEmail.To=licensealerts@yourmailserver.com log4j.appender.LicenseEmail.From=license@speechstorm.com log4j.appender.LicenseEmail.SMTPHost=mail.speechstorm.com log4j.appender.LicenseEmail.Subject=SpeechStorm License Warning log4j.appender.LicenseEmail.Threshold=INFO log4j.appender.LicenseEmail.layout=org.apache.log4j.PatternLayout log4j.appender.LicenseEmail.layout.ConversionPattern=%d %m%n #----------------------------------------------------------------------------- # The definition for the Security log file and email appenders # # The file rollover rules are the same as for the RFile appender above #----------------------------------------------------------------------------- log4j.appender.SecurityFile=org.apache.log4j.RollingFileAppender log4j.appender.SecurityFile.File=${catalina.base}/logs/fish-security.log log4j.appender.SecurityFile.encoding=UTF-8 log4j.appender.SecurityFile.MaxFileSize=10240KB log4j.appender.SecurityFile.MaxBackupIndex=10 log4j.appender.SecurityFile.layout=org.apache.log4j.PatternLayout log4j.appender.SecurityFile.layout.ConversionPattern=%d %m%n log4j.appender.SecurityEmail=org.apache.log4j.net.SMTPAppender log4j.appender.SecurityEmail.BufferSize=10 log4j.appender.SecurityEmail.To=securityalerts@yourmailserver.com log4j.appender.SecurityEmail.From=admin@speechstorm.com log4j.appender.SecurityEmail.SMTPHost=mail.speechstorm.com log4j.appender.SecurityEmail.Subject=SpeechStorm Security Warning log4j.appender.SecurityEmail.Threshold=INFO log4j.appender.SecurityEmail.layout=org.apache.log4j.PatternLayout log4j.appender.SecurityEmail.layout.ConversionPattern=%d %m%n log4j.appender.SecurityEmail.evaluatorClass=com.speechstorm.logging.EmailLoggingTrigger