[email protected]
[Top] [All Lists]

Problems with LoggerAppenderMail

Subject: Problems with LoggerAppenderMail
From: Shadow
Date: Thu, 11 May 2006 11:49:39 -0700
I'm not sure if I'm just doing something stupid or missing something in the documentation or what, but here's my log4php.properties file. For some reason it's not emailing out errors to me...... What is the correct syntax to have it execute both the R00 appender and the R01 appender?

Thanks!



log4php.appender.R=LoggerAppenderConsole
log4php.appender.R.target=STDERR, STDOUT
log4php.appender.R.layout=LoggerPatternLayout
log4php.appender.R.layout.ConversionPattern=%d [%t > %-5p %c - %m%n

log4php.appender.R00=LoggerAppenderDailyFile
log4php.appender.R00.file=/usr/local/apache2/log4php/log4php.%s.log
log4php.appender.R00.layout=LoggerPatternLayout
log4php.appender.R00.layout.ConversionPattern=%d - %p - %m%n

log4php.appender.R01=LoggerAppenderMail
log4php.appender.R01.layout=LoggerPatternLayout
log4php.appender.R01.layout.ConversionPattern=%d - %p - %m%n
[email protected]
[email protected]
log4php.appender.R01.subject="PHP ERROR REPORT"
log4php.appender.R01.threshold=DEBUG

log4php.rootLogger=DEBUG, R01

<Prev in Thread] Current Thread [Next in Thread>
  • Problems with LoggerAppenderMail, Shadow <=