You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/03/16 09:59:50 UTC
[jira] Closed: (SLING-889) Access log uses request.getRemoteHost()
which does reverse dns lookups
[ https://issues.apache.org/jira/browse/SLING-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-889.
----------------------------------
Resolution: Fixed
Changed the log format in revision 754851.
> Access log uses request.getRemoteHost() which does reverse dns lookups
> ----------------------------------------------------------------------
>
> Key: SLING-889
> URL: https://issues.apache.org/jira/browse/SLING-889
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Affects Versions: Engine 2.0.2
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Engine 2.0.4
>
>
> By default the access logger logs (among other things) "%h" which does a call to request:getRemoteHost(). This call can be expensive as it might perform
> a complete reverse dns lookup on each log statement.
> For increased performance "%a" should be used to just display the ip address
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.