Improve Confluence User access logging

XMLWordPrintable

    • 2
    • 25

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Improve Confluence user access logging so:

      • It can be enabled from the GUI just like JIRA 4.x
      • Include HTTP status code and HTTP methods (GET/POST), along with the existing fields.
      • Include user IP address that is accessing Confluence (workaround does not include this)

      Workaround solution:
      Add the following code in the server.xml before the tag "</Engine>"

      <Valve className="org.apache.catalina.valves.AccessLogValve" pattern="%a %t %I %{X-AUSERNAME}o &quot;%m %U%q %H&quot; %s %b %D &quot;%{Referer}i&quot; &quot;%{User-Agent}i&quot %D %F" resolveHosts="false"/>
      

            Assignee:
            Unassigned
            Reporter:
            Roy Hartono [Atlassian]
            Votes:
            34 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated: