Sling
  1. Sling
  2. SLING-889

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

        Activity

        Carsten Ziegeler created issue -
        Carsten Ziegeler made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Felix Meschberger made changes -
        Workflow jira [ 12454838 ] no-reopen-closed,doc-test-required [ 12475226 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12475226 ] Copy of no-reopen-closed,doc-test-required [ 12762950 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12762950 ] no-reopen-closed,doc-test-required [ 12766684 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766684 ] re-open possible,doc-test-required [ 12788075 ]
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12788075 ] no-reopen-closed,doc-test-required [ 12790899 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development