// Normal request processing
if (((StandardContext) container).getSwallowOutput()) {
try {
SystemLogHandler.startCapture();
wrapper.invoke(request, response);
} finally {
String log = SystemLogHandler.stopCapture();
if (log != null && log.length() > 0) {
container.getLogger().log(log);
}