morgand 01/08/21 14:59:09 Modified: latka/src/java/org/apache/commons/latka/http RequestImpl.java Log: increased logging priority for including response in the log Revision Changes Path 1.9 +6 -3 jakarta-commons/latka/src/java/org/apache/commons/latka/http/RequestImpl.java Index: RequestImpl.java =================================================================== RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/RequestImpl.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- RequestImpl.java 2001/08/21 21:09:15 1.8 +++ RequestImpl.java 2001/08/21 21:59:09 1.9 @@ -102,9 +102,12 @@ Response response = _session.execute(this); _requestTiming = ((new java.util.Date()).getTime() - startDate.getTime()); - log.info("request executed"); - log.debug("response obtained:"); - log.debug(response.getResource()); + + if (log.isInfoEnabled()) { + log.info("response obtained (response follows):"); + log.info(response.getResource()); + } + return response; }