mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-13 04:50:41 +01:00
Direct queues do not apply queue parameters because they are actually no physical queue. As such, any parameter set is ignored. This can lead to unintentional results. The new code detects this case and warns the user. closes https://github.com/rsyslog/rsyslog/issues/77
13 lines
297 B
Bash
Executable File
13 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
# added 2019-11-14 by RGerhards, released under ASL 2.0
|
|
. ${srcdir:=.}/diag.sh init
|
|
generate_conf
|
|
add_conf '
|
|
action(type="omfile" file="'$RSYSLOG_OUT_LOG'")
|
|
'
|
|
startup
|
|
shutdown_when_empty
|
|
wait_shutdown
|
|
check_not_present "queue is in direct mode, but parameters have been set"
|
|
exit_test
|