File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ RUN apt-get update && \
26
26
# disable kernel log as it doesn't work in containers - and it should not
27
27
sed -i '/imklog/s/^/#/' /etc/rsyslog.conf && \
28
28
# disable the template preset and set a custom one (first empty line after GLOBAL DIRECTIVES)
29
- sed -i '/ActionFileDefaultTemplate/s/^/#/' /etc/rsyslog.conf &&
30
- sed -i '/GLOBAL DIRECTIVES/!b;:a;n;/./ba;i$template customFormat,"%msg%\\ n" \n $ActionFileDefaultTemplate customFormat' /etc/rsyslog.conf &&
29
+ sed -i '/ActionFileDefaultTemplate/s/^/#/' /etc/rsyslog.conf && \
30
+ sed -i '/GLOBAL DIRECTIVES/!b;:a;n;/./ba;i$template customFormat,"%msg%\\ n" \n $ActionFileDefaultTemplate customFormat' /etc/rsyslog.conf && \
31
31
# redirect the output to the process 1
32
32
ln -sf /proc/1/fd/1 /var/log/syslog
33
33
You can’t perform that action at this time.
0 commit comments