RE: Using log4j in custom tag libraries

2001-06-06 Thread Johri, Priyank
servlet should do the initialization (in its init maybe?).. Let me know what you eventually come up with. Priyank -Original Message- From: Doug Grimwade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 7:13 AM To: LOG4J Users Mailing List Subject: Re: Using log4j in custom tag

Re: Using log4j in custom tag libraries

2001-06-06 Thread Doug Grimwade
Hi, I think I may be able to answer my own question now (having read the manual a little more carefully). In case anyone is having a similar problem I have outline the approach below: Basically I am using the default initialisation method and it seems to work great. In each tag class I do the u

Using log4j in custom tag libraries

2001-06-06 Thread Doug Grimwade
Hi, I am trying to replace the System.out.println() logging in my custom tag library with log4j (using jakarta 3.2.1). I have added Category.getInstance() calls in each tag but I am not sure where I should add the log4j initialisation code. Do I just have a static initialisation block in one of