Enable Tomcat http access log by default on Confluence

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • Component/s: None

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: