blob: 746dd1435e66d2e41bf40f7df4884c2078a28c0c (
plain) (
blame)
1
2
3
4
5
6
|
setup_logging() {
echo "# Setting up rsyslog logging for dmsd, and taskmanager (to /var/log/xxxx)... "
cp "$BASEDIR/static_files/logging/80-dmsd.conf" \
"$BASEDIR/static_files/logging/90-taskmanager.conf" /etc/rsyslog.d/ || perror "Could not add rsyslog rules"
cp "$BASEDIR/static_files/logging/satellite-logrotate" /etc/logrotate.d/ || perror "Could not add logrotate rules"
}
|