We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95a826c commit 0e63e5aCopy full SHA for 0e63e5a
1 file changed
scripts/aws/entrypoint.sh
@@ -39,7 +39,10 @@ done
39
40
DEBUG_MODE=$(jq -r ".debug_mode" < "${OVERRIDES_CONFIG}")
41
42
-if [[ ! "$DEBUG_MODE" == "true" ]]; then
+if [[ "$DEBUG_MODE" == "true" ]]; then
43
+ LOGBACK_CONF="./conf/logback-debug.xml"
44
+else
45
+ LOGBACK_CONF="./conf/logback.xml"
46
# -- setup syslog-ng
47
echo "Starting syslog-ng..."
48
/usr/sbin/syslog-ng --verbose
@@ -97,11 +100,6 @@ fi
97
100
cd /app
98
101
99
102
# -- start operator
-if [[ "$DEBUG_MODE" == "true" ]]; then
- LOGBACK_CONF="./conf/logback-debug.xml"
-else
103
- LOGBACK_CONF="./conf/logback.xml"
104
-fi
105
echo "Starting Java application..."
106
java \
107
-XX:MaxRAMPercentage=95 -XX:-UseCompressedOops -XX:+PrintFlagsFinal \
0 commit comments