Skip to content
Snippets Groups Projects
Commit 97861561 authored by Bill MacAllister's avatar Bill MacAllister
Browse files

syslog: correct condition for writing default remote log

parent df8d4c2c
No related branches found
No related tags found
No related merge requests found
# Write all syslog messages from any remote host to a default
# location. The expectation is that rules for specific hosts
# will be prefixed with numbers less than 80.
if $hostname == '<%= hostname %>' then {
if $hostname != '<%= hostname %>' then {
action(type="omfile"
file="/var/log/remote/default.log"
template="FileFormat")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment