log - send logs to remote syslog server

This commit is contained in:
bunkerity
2021-04-27 09:30:10 +02:00
parent 5ce41edc03
commit b4df287228
2 changed files with 9 additions and 0 deletions

View File

@@ -25,3 +25,5 @@ module(load="imuxsock" SysSock.Name="/tmp/log")
$template rawFormat,"%msg:2:2048%\n"
local0.=notice /var/log/access.log;rawFormat
local0.*;local0.!=notice /var/log/error.log;rawFormat
%REMOTE_SYSLOG%