I made the correction to work with LOGJ 1.2.6
see the File in the attachement

It is cool tool ;-)

Benoit

---
Benoit Moussaud [EMAIL PROTECTED]
Cril Telecom Software 
http://www.criltelecom.com
8 rue danjou 92510 Boulogne Billancourt
(33) 1 58 17 04 78

-----Message d'origine-----
De : Pomytkin, Sergey [mailto:[EMAIL PROTECTED]]
Envoy� : vendredi 20 septembre 2002 02:07
� : 'Log4J Users List'
Objet : RE: Open Source Log4j Control Servlet Posted


Handy tool, thanks.

I guess you have old Log4j version 
Otherwise you should mention such warnings, during compilation 

"Log4jControlServlet.java": Warning #: 368 : method getPriority() in class
org.apache.log4j.Category has been deprecated at line 176, column 31
"Log4jControlServlet.java": Warning #: 368 : method getChainedPriority() in
class org.apache.log4j.Category has been deprecated at line 176, column 63
"Log4jControlServlet.java": Warning #: 368 : method getPriority() in class
org.apache.log4j.Category has been deprecated at line 177, column 36
"Log4jControlServlet.java": Warning #: 368 : method
toPriority(java.lang.String) in class org.apache.log4j.Priority has been
deprecated at line 191, column 41
"Log4jControlServlet.java": Warning #: 368 : method
setPriority(org.apache.log4j.Priority) in class org.apache.log4j.Category
has been deprecated at line 191, column 20
"Log4jControlServlet.java": Warning #: 368 : method getCurrentCategories()
in class org.apache.log4j.Category has been deprecated at line 210, column
37

Result of ignoring:
jcs)] Servlet failed with Exception
java.lang.NoSuchMethodError
        at
com.leb.log4j.Log4jControlServlet.displayLogger(Log4jControlServlet.j
ava:175)
        at
com.leb.log4j.Log4jControlServlet.doGet(Log4jControlServlet.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

I  changed Priority to Level, Categories to Loggers and so on. .java and
.war files sent to [EMAIL PROTECTED]

Sergey Pomytkin
cell 425 241 2782
desk 425 288 7127

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Attachment: Log4jControlServlet.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to