Class ExtendedCommonLogger

  extended by org.w3c.jigsaw.http.Logger
      extended by org.w3c.jigsaw.http.CommonLogger
          extended by org.w3c.jigsaw.http.ExtendedCommonLogger
All Implemented Interfaces:

public class ExtendedCommonLogger
extends CommonLogger

The ExtendedCommonLogger class implements the abstract Logger class. It just rotates the log every month and use the extended log format

See Also:

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 the given HTTP transaction. This is shamelessly slow.

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.