mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
DCD-1369: Updated the documentation and fix the default value and respect to alt_tomcat_log_access variable for all versions
This commit is contained in:
parent
6ded2027eb
commit
8cce735461
@ -115,7 +115,7 @@ of the setup. They can be controlled via the below environment variables.
|
|||||||
The context path the application is served over. `CATALINA_CONTEXT_PATH` is
|
The context path the application is served over. `CATALINA_CONTEXT_PATH` is
|
||||||
also supported for backwards compatability.
|
also supported for backwards compatability.
|
||||||
|
|
||||||
* `ATL_TOMCAT_ACCESS_LOG` (default: false)
|
* `ATL_TOMCAT_ACCESS_LOG` (default: false [version < 7.11.0] and true [version >=7.11.0])
|
||||||
|
|
||||||
Whether to enable Tomcat access logging; set to `true` to enable. *NOTE*:
|
Whether to enable Tomcat access logging; set to `true` to enable. *NOTE*:
|
||||||
These logs are written to the Container internal volume by default (under
|
These logs are written to the Container internal volume by default (under
|
||||||
|
@ -41,7 +41,8 @@
|
|||||||
<Manager pathname=""/>
|
<Manager pathname=""/>
|
||||||
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
||||||
threshold="60"/>
|
threshold="60"/>
|
||||||
{% if (confluence_version.split('.') | map('int') | list) >= ('7.11.0'.split('.') | map('int') | list) or atl_tomcat_access_log == 'true' %}
|
{% if ((atl_tomcat_access_log == 'true') or
|
||||||
|
(atl_tomcat_access_log is none and (confluence_version.split('.') | map('int') | list) >= ('7.11.0'.split('.') | map('int') | list)) ) %}
|
||||||
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
||||||
requestAttributesEnabled="true"
|
requestAttributesEnabled="true"
|
||||||
directory="logs"
|
directory="logs"
|
||||||
|
Loading…
Reference in New Issue
Block a user