Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-889

Access log uses request.getRemoteHost() which does reverse dns lookups

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Engine 2.0.2
    • Fix Version/s: Engine 2.0.4
    • Component/s: Engine
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: