mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-15 10:30:40 +01:00
15 lines
397 B
Bash
Executable File
15 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
# addd 2019-04-15 by RGerhards, released under ASL 2.0
|
|
. ${srcdir:=.}/diag.sh init
|
|
generate_conf
|
|
add_conf '
|
|
template(name="outfmt" type="plugin" plugin="RSYSLOG_TraditionalFileFormat")
|
|
action(type="omfile" template="outfmt" file="'$RSYSLOG_OUT_LOG'")
|
|
'
|
|
startup
|
|
injectmsg 0 1
|
|
shutdown_when_empty
|
|
wait_shutdown
|
|
content_check "Mar 1 01:00:00 172.20.245.8 tag msgnum:00000000:"
|
|
exit_test
|