Re: Using log4j in custom tag libraries

2001-06-09 Thread Brad Cox
This looks like the same material I've seen before. Default init oesn't seem to work. Keep getting an error message unless I explicitly initialize it somewhere, which is a real problem in my multi-entry system (test cases, servlets, client aps). Just this weekend I went back to a home-brew sta

Using log4j in custom tag libraries

2001-06-09 Thread Ceki Gülcü
Hi Goug, The user manual in the just released log4j 1.1.2 has a section on default initialization, in particular initialization under Tomcat. Be sure to read: http://jakarta.apache.org/log4j/docs/manual.html#defaultInit Hope this helps, Ceki > Hi, > I am trying to replace the System.out.pri

Using log4j in custom tag libraries

2001-06-05 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