wt.tools.log
Class LogFileServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
wt.tools.log.LogFileServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class LogFileServlet
- extends javax.servlet.http.HttpServlet
Servlet that redirects servlet engine JVM System.out and System.err
streams to a Windchill style log file. The following servlet parameters
control the destination log file.
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialized
private static boolean initialized
oldOut
private static PrintStream oldOut
oldErr
private static PrintStream oldErr
file
private String file
append
private boolean append
tee
private boolean tee
LogFileServlet
public LogFileServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
init
private static void init(String file,
boolean append,
boolean tee)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
printStartingMessage
private void printStartingMessage()
printStartedMessage
private void printStartedMessage()