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]>