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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.0.2
    • Engine 2.0.4
    • Engine
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: