ut.LocationInfo=true
log4j.appender.generalAppender.layout.Title=FW Application Log
#email appender layout
log4j.appender.emailAppender.layout=org.apache.log4j.HTMLLayout
log4j.appender.emailAppender.layout.LocationInfo=true
log4j.appender.emailAppender.layout.Title=FW Email Log
- Original Message -
email.html file.
But what happens is email.html gets everything and fw.html gets everything plus
some duplicate entries.
What am I doing wrong?
Thanks,
Luke
log4j.rootLogger=debug, generalAppender, emailAppender
#class specific loggin
log4j.category.model.notification=INFO, emailAppender
Thanks Jake, that worked like a charm!
Luke
On Wed, Mar 23, 2005 at 10:33:04AM -0600, Jacob Kjome wrote:
>
> I'm surprised that config file works at all. You are attempting to apply
> additivity to your appender. Additivity applies to loggers, not appenders.
> So,
=org.apache.log4j.FileAppender
log4j.appender.mail.File=d:\\log4j\\mail.log
log4j.appender.mail.Append=true
log4j.appender.mail.layout=org.apache.log4j.PatternLayout
log4j.appender.mail.layout.ConversionPattern=%d %-5p - %m%n
Luke
On Tue, Mar 22, 2005 at 03:46:45PM -0600, Jacob Kjome wrote:
> Post y
I tried that; that makes all log messages (not just mail-related ones)
appear in both files...
Luke
Aswin Asokan wrote:
> Try changing
> log4j.logger.MailLog=mail
> to
> log4j.logger.MailLog=DEBUG,mail
>
>
> Regards,
> Aswin Asokan
signature.asc
Description: Digital signature
log
appenders, and file any MailLog messages into the mail.log appender.
Yet the log messages only appear in the A1 and A2 appenders (console and
the sd.log file). Is there something wrong with my configuration?
Thanks,
Luke Reeves
signature.asc
Description: Digital signature
arguments into a script from the shell about what configuration they want to
use.
Thanks in advance,
Luke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
oblem.
Thanks,
Luke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]