syslog: have syslog generate timestamps (#1585)
This is the more elegant solution to #1579.
This commit is contained in:
parent
ab1756306b
commit
2b84888c2f
18 changed files with 18 additions and 52 deletions
|
@ -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
|
||||
|
|
Reference in a new issue