private void logRequestEnd(PortalTransaction trans) { trans.logger.info( "[" + trans.requestNumber + "] PE Version " + Version.get() + ", End Request " + " at " + CalendarUtilities.calendarToStringTime(trans.endTime) + ":"); trans.logger.info("[" + trans.requestNumber + "] PE Reply: " + Str.makeReadable(trans.reply)); }
private void logRequestStart(PortalTransaction trans) { trans.logger.info( "[" + trans.requestNumber + "] PE Version " + Version.get() + ", Begin Request " + " at " + CalendarUtilities.calendarToStringTime(trans.beginTime) + ":"); Enumeration paramNames = trans.request.getParameterNames(); while (paramNames.hasMoreElements()) { String paramName = (String) paramNames.nextElement(); String paramValue = trans.request.getParameter(paramName); trans.logger.info( "[" + trans.requestNumber + "] " + paramName + "=" + Str.makeReadable(paramValue)); } }
private void reportVersion(PortalTransaction trans) { trans.reply = "<Version>" + Version.get() + "</Version>"; }