Enable Tomcat http access log by default on Confluence

XMLWordPrintable

    • 1
    • 3

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

      It will be really helpful to deliver the following code in the server.xml before the tag "</Engine>" to enable the http access log on the Tomcat level by default:

      <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"/>
      

      It really helps to both troubleshooting issue and the usage audit.

              Assignee:
              Unassigned
              Reporter:
              Yilin (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: