rsyslog/tests/testsuites/imuxsock_hostname.conf
Rainer Gerhards 0fdba55c81 bugfix: global(localHostName="xxx") wasn't always honored
probably a regression of the last startup changes. Also added a
test for this to the testbench.

closes https://github.com/rsyslog/rsyslog/issues/172
2014-12-04 15:27:58 +01:00

11 lines
322 B
Plaintext

# rgerhards, 2014-12-04
$IncludeConfig diag-common.conf
global(localHostName="rsyslog-testbench-hostname")
module(load="../plugins/imuxsock/.libs/imuxsock" sysSock.use="off")
input(type="imuxsock" Socket="testbench_socket")
template(name="outfmt" type="string" string="%hostname:%\n")
local1.* ./rsyslog.out.log;outfmt