mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
DCD-1369: Enable log access for version after 7.11.0
This commit is contained in:
parent
1ca6ff3499
commit
6ded2027eb
@ -33,6 +33,8 @@ RUN apt-get update \
|
||||
ARG CONFLUENCE_VERSION
|
||||
ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||
|
||||
ENV CONFLUENCE_VERSION ${CONFLUENCE_VERSION}
|
||||
|
||||
RUN groupadd --gid ${RUN_GID} ${RUN_GROUP} \
|
||||
&& useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${CONFLUENCE_HOME} --shell /bin/bash ${RUN_USER} \
|
||||
&& echo PATH=$PATH > /etc/environment \
|
||||
|
@ -41,7 +41,7 @@
|
||||
<Manager pathname=""/>
|
||||
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
||||
threshold="60"/>
|
||||
{% if atl_tomcat_access_log == 'true' %}
|
||||
{% if (confluence_version.split('.') | map('int') | list) >= ('7.11.0'.split('.') | map('int') | list) or atl_tomcat_access_log == 'true' %}
|
||||
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
||||
requestAttributesEnabled="true"
|
||||
directory="logs"
|
||||
|
Loading…
Reference in New Issue
Block a user