diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-12-16 15:29:20 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-12-16 15:29:20 +0100 |
commit | 699d0d933ab64941d40df17c69b2c377231924cf (patch) | |
tree | 07aa41cd80cc27f052bb92e856fd088d32301d10 /tests/testsuites | |
parent | 06bad730521dc476a7eabbbedf624a4cfbf65b18 (diff) | |
download | rsyslog-699d0d933ab64941d40df17c69b2c377231924cf.tar.gz rsyslog-699d0d933ab64941d40df17c69b2c377231924cf.tar.xz rsyslog-699d0d933ab64941d40df17c69b2c377231924cf.zip |
added $LocalHostName config directive & some bugfixing
- added $LocalHostName config directive
- bugfix: local hostname was pulled too-early, so that some config
directives (namely FQDN settings) did not have any effect
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/parse1.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsuites/parse1.conf b/tests/testsuites/parse1.conf index 947a05a8..094cd762 100644 --- a/tests/testsuites/parse1.conf +++ b/tests/testsuites/parse1.conf @@ -2,6 +2,7 @@ $ModLoad ../plugins/omstdout/.libs/omstdout $IncludeConfig nettest.input.conf # This picks the to be tested input from the test driver! $ErrorMessagesToStderr off +$LocalHostName localhost # use a special format that we can easily parse in expect $template expect,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%timestamp%,%hostname%,%programname%,%syslogtag%,%msg%\n" |