| Author |
Logger in web.xml
|
Kerry Wilson
Ranch Hand
Joined: Oct 29, 2003
Posts: 251
|
|
Would like to know how to declare a logger in the web.xml, if it is possible. Thanks
|
http://www.goodercode.com
SCJP 1.4
|
 |
Sekhar Kadiyala
Ranch Hand
Joined: Feb 17, 2004
Posts: 170
|
|
Logging facility can't be declared in application specific web.xml However at container level, we can do that For example, in Tomcat, in server.xml you can specify <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> something like this!
|
PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
|
 |
 |
|
|
subject: Logger in web.xml
|
|
|