Consolidate and refactor logging configuration code

This commit is contained in:
Shane McDonald
2022-08-19 17:16:10 -04:00
parent bf9f1b1d56
commit 37d9c9eb1b
3 changed files with 41 additions and 65 deletions

View File

@@ -10,6 +10,7 @@ FROM quay.io/centos/centos:stream9 as builder
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV AWX_LOGGING_MODE stdout
USER root
@@ -88,6 +89,7 @@ FROM quay.io/centos/centos:stream9
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV AWX_LOGGING_MODE stdout
USER root

View File

@@ -21,6 +21,7 @@ services:
RECEPTORCTL_SOCKET: {{ receptor_socket_file }}
CONTROL_PLANE_NODE_COUNT: {{ control_plane_node_count|int }}
EXECUTION_NODE_COUNT: {{ execution_node_count|int }}
AWX_LOGGING_MODE: stdout
{% if loop.index == 1 %}
RUN_MIGRATIONS: 1
{% endif %}