Skip to content

Commit ea81e8e

Browse files
committed
Fix colorized logback
1 parent 14e24e9 commit ea81e8e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

8.1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ RUN xmlstarlet ed --inplace \
117117
-u "/configuration/appender[@name='SysoutAppender']/encoder/pattern" \
118118
-v "%highlight(%.-1p) %boldCyan([%-30c{1}]:) %m %X%n" \
119119
-s "/configuration/appender[@name='SysoutAppender']" \
120-
-t elem -n withJansi -v "true" \
120+
-t elem -n withJansi -v "false" \
121121
data/logback.xml
122122

123123
# RUNTIME IMAGE

8.1/docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,9 @@ if [[ "$1" != 'bash' && "$1" != 'sh' && "$1" != '/bin/sh' ]]; then
721721
fi
722722
fi
723723

724+
# Disable jansi in logback if set, breaks in 8.1.38
725+
sed -i 's|<withJansi>true</withJansi>|<withJansi>false</withJansi>|' "${IGNITION_INSTALL_LOCATION}/data/logback.xml"
726+
724727
# Stage tini as init replacement
725728
set -- tini -g -- "${CMD[@]}"
726729

0 commit comments

Comments
 (0)