|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.jigsaw.http.Logger org.w3c.jigsaw.http.CommonLogger org.w3c.jigsaw.http.ExtendedCommonLogger
public class ExtendedCommonLogger
The ExtendedCommonLogger class implements the abstract Logger class. It just rotates the log every month and use the extended log format
CommonLogger
Field Summary |
---|
Fields inherited from class org.w3c.jigsaw.http.CommonLogger |
---|
buffer, bufptr, bufsize, BUFSIZE_P, day, errlog, ERRLOGNAME_P, hour, log, LOGDIRNAME_P, LOGNAME_P, month, monthnames, noUrl, props, ROTATE_LEVEL_P, rotateLevel, server, trace, TRACELOGNAME_P, year |
Method Summary | |
---|---|
void |
log(Request request,
Reply reply,
int nbytes,
long duration)
Log the given HTTP transaction. |
Methods inherited from class org.w3c.jigsaw.http.CommonLogger |
---|
appendLogBuffer, checkLogFile, dateCache, errlog, errlog, errlogmsg, getFilename, initialize, log, logmsg, openErrorLogFile, openLogFile, openLogFile, openLogFile, openLogFile, openTraceFile, output, propertyChanged, shutdown, sync, trace, trace, tracemsg |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void log(Request request, Reply reply, int nbytes, long duration)
log
in class CommonLogger
request
- The request that was handled.reply
- The emitted reply to the client.nbytes
- The number of bytes sent to this client.duration
- The time it took to process the request.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |