KF2-SRV/SOURCES/rsyslog-kf2-srv.conf

11 lines
289 B
Plaintext
Raw Normal View History

2020-07-09 02:06:14 +03:00
global(parser.permitSlashInProgramName="on")
2020-07-10 23:50:25 +03:00
template(name="DynFile" type="string" string="/var/log/%programname%.log")
if ($programname startswith "kf2-srv") then
{
2020-07-12 00:52:42 +03:00
action(Type="omfile" DynaFile="DynFile" FileCreateMode="0640" Umask="0027" FileOwner="root" FileGroup="steam")
2020-07-10 23:50:25 +03:00
stop
}
2020-07-09 02:06:14 +03:00