20 Aug 10:42
[RFE] LogFilter.afterHandle
From: Vincent Ricard <magic <at> magicninja.org>
Subject: [RFE] LogFilter.afterHandle
Newsgroups: gmane.comp.java.restlet
Date: 2008-08-20 08:45:38 GMT
Subject: [RFE] LogFilter.afterHandle
Newsgroups: gmane.comp.java.restlet
Date: 2008-08-20 08:45:38 GMT
Hi,
I read LogFilter.afterHanfle() and wondered if these 2 modifications would
be better (from a performance point of view):
- put the whole block into a "if (this.logLogger.isLoggable(Level.INFO))
{...}"
- compute the duration only if needed.
Regards,
--
--
Vincent Ricard
RSS Feed