Re: URGENT: Overriding the forcedLog method

2004-04-16 Thread Robert Pepersack
Don't extend Logger. Wrap it using the GoF Decorator pattern (a.k.a Wrapper). There is a good example of how to wrap Logger in The Complete log4j Manual. Ceki also discusses the reasons why you should not extend Logger. Here is the source code for Ceki's Logger wrapper: package chapter8; i

Re: Declaring a Logger in an Abstract Class

2004-04-15 Thread Robert Pepersack
this problem? Should I re-post this question to the user list? Thanks. At 10:16 AM 04/15/2004 -0700, you wrote: On Thu, 2004-04-15 at 05:27, Robert Pepersack wrote: > Hi all. > > I have an abstract class that has many subclasses. There are several options: > > 1. Declare it

Declaring a Logger in an Abstract Class

2004-04-15 Thread Robert Pepersack
Hi all. I have an abstract class that has many subclasses. There are several options: 1. Declare it in the abstract class using the String name of the abstract class. For example: protected static final Logger logger = Logger.getLogger("org.happy.Superclass"); // Logger does not have na

RE: log4j and JDK 1.2.2

2004-04-07 Thread Robert Pepersack
for EAServer version 4? Thanks, At 08:58 AM 03/30/2004 -0500, you wrote: Hi, Yes, log4j 1.2.x supports JDK 1.2.x. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Robert Pepersack [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 30, 2004 8:57 AM >To: [

log4j and JDK 1.2.2

2004-03-30 Thread Robert Pepersack
Hello. Does log4j support JDK 1.2.2? If not what JDKs does it support? Do any previous versions support JDK 1.2.2? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]