-
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 11:49 AM
To: Log4J Users List; [EMAIL PROTECTED]
Subject: Re: Having 2 loggers log to the same file...
Can you provide the exception?
At 11:33 AM 12/8/2003 -0800, Alan Brown wrote:
>I'd like to have 2 separate pa
I'd like to have 2 separate parts of my code log to the same file
because they share functionality. However I'm getting a class cast
exception when I specify the following in my log config file...
log4j.logger.opsx.server.db = DEBUG, A3
log4j.additivity.opsx.server.db = false
log4j.logger.opsx.s
I'd like to only log debugging messages if a warning or error occurs
shortly afterwards. In the past I've written my own logging systems
that have cached messages and then logged the last x debug messages to
file if an error occurs.
Is there a way to do this with Log4J or would I have to write my