configured syslog-ng to log to stdout directly instead of using tail (#438)

This commit is contained in:
David Hiendl
2017-10-05 21:13:01 +02:00
committed by Zsolt Ero
parent 8d7f3abd2d
commit 2bb9d89325
4 changed files with 4 additions and 9 deletions

View File

@@ -15,10 +15,6 @@ touch /var/log/syslog
chmod u=rw,g=r,o= /var/log/syslog
cp $SYSLOG_NG_BUILD_PATH/syslog-ng.conf /etc/syslog-ng/syslog-ng.conf
## Install syslog to "docker logs" forwarder.
mkdir /etc/service/syslog-forwarder
cp $SYSLOG_NG_BUILD_PATH/syslog-forwarder.runit /etc/service/syslog-forwarder/run
## Install logrotate.
$minimal_apt_get_install logrotate
cp $SYSLOG_NG_BUILD_PATH/logrotate.conf /etc/logrotate.conf