syslog: have syslog generate timestamps (#1585)

This is the more elegant solution to #1579.
This commit is contained in:
Jimmy Zelinskie 2016-06-27 14:35:12 -04:00
parent ab1756306b
commit 2b84888c2f
18 changed files with 18 additions and 52 deletions

View file

@ -4,6 +4,4 @@
sv check syslog-ng > /dev/null || exit 1
# Start the logger
while read -r msg; do
logger -i -t nginx "$msg"
done
exec logger -i -t nginx