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

14 lines
421 B
Plaintext
Raw Normal View History

2020-07-08 23:06:14 +00:00
global(parser.permitSlashInProgramName="on")
2020-07-10 20:50:25 +00:00
template(name="DynFile" type="string" string="/var/log/%programname%.log")
2020-09-09 11:06:35 +00:00
# Change "UMask" in /usr/lib/systemd/system/rsyslog.service
# to make "FileCreateMode" and "Umask" work correctly for this config.
2020-07-10 20:50:25 +00:00
if ($programname startswith "kf2-srv") then
{
2020-09-09 11:06:35 +00:00
action(Type="omfile" DynaFile="DynFile" FileCreateMode="0644" Umask="0022" FileOwner="root" FileGroup="steam")
2020-07-10 20:50:25 +00:00
stop
}
2020-07-08 23:06:14 +00:00