logmonitor/etc/syslog-ng/templates/d_local.template

9 lines
298 B
Text
Raw Permalink Normal View History

2021-01-28 07:10:11 -05:00
destination d_local {
file("/var/log/system.log" template("$ISODATE $PRI $HOST $MSGHDR $MSG\n"));
#file("/var/log/messages-kv.log" template("$ISODATE $HOST $(format-welf --scope all-nv-pairs)\n") frac-digits(3));
2021-01-28 07:10:11 -05:00
};
log {
source(s_network);
destination(d_local);
};