summaryrefslogtreecommitdiff
path: root/tests/testsuites/rs_optimizer_pri.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/rs_optimizer_pri.conf')
-rw-r--r--tests/testsuites/rs_optimizer_pri.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/rs_optimizer_pri.conf b/tests/testsuites/rs_optimizer_pri.conf
new file mode 100644
index 0000000..9ff27dc
--- /dev/null
+++ b/tests/testsuites/rs_optimizer_pri.conf
@@ -0,0 +1,8 @@
+$IncludeConfig diag-common.conf
+template(name="outfmt" type="string" string="%msg:F,58:2%\n")
+
+module(load="../plugins/imtcp/.libs/imtcp")
+input(type="imtcp" port="13514")
+
+if $syslogfacility-text == "local4" then
+ action(type="omfile" template="outfmt" file="rsyslog.out.log")