dlog_test_tid_filtering_secure_logging $type
fi
+DLOG_CONFIG_PATH="@datadir@/dlog-$type.conf.test"
+
dlog_logger -t 0 &
LOGGER=$!
sleep 1
DLOG_PREV_PATH=$DLOG_CONFIG_PATH
-LOG_DETAILS="testing if config has control over redirecting to stdout (1/3)"
-DLOG_CONFIG_PATH="@datadir@/dlog-$type.conf.stdout_enable.1"
-
-test_config_redirect 1 1 1 1 && ok || fail
-
-LOG_DETAILS="testing if config has control over redirecting to stdout (2/3)"
-DLOG_CONFIG_PATH="@datadir@/dlog-$type.conf.stdout_enable.2"
-test_config_redirect 0 0 1 1 && ok || fail
-
-LOG_DETAILS="testing if config has control over redirecting to stdout (3/3)"
-DLOG_CONFIG_PATH="@datadir@/dlog-$type.conf.stdout_enable.3"
-test_config_redirect 1 1 0 0 && ok || fail
+dlog_test_stdout_redirect $type
DLOG_CONFIG_PATH=$DLOG_PREV_PATH