summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-16 15:29:20 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-16 15:29:20 +0100
commit699d0d933ab64941d40df17c69b2c377231924cf (patch)
tree07aa41cd80cc27f052bb92e856fd088d32301d10 /doc
parent06bad730521dc476a7eabbbedf624a4cfbf65b18 (diff)
downloadrsyslog-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 'doc')
-rw-r--r--doc/rsyslog_conf_global.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/rsyslog_conf_global.html b/doc/rsyslog_conf_global.html
index 8c1cc9a7..b58ae9c2 100644
--- a/doc/rsyslog_conf_global.html
+++ b/doc/rsyslog_conf_global.html
@@ -150,6 +150,12 @@ Usually that should not be a big issue, as the restart-type HUP can easily be re
something along the lines of &quot;/etc/init.d/rsyslog restart&quot;.
</li>
<li><a href="rsconf1_includeconfig.html">$IncludeConfig</a></li><li>MainMsgQueueCheckpointInterval &lt;number&gt;</li>
+<li><b>$LocalHostName</b> [name] - this directive permits to overwrite the system
+hostname with the one specified in the directive. If the directive is given
+multiple times, all but the last one will be ignored. Please note that startup
+error messages may be issued with the real hostname. This is by design and not
+a bug (but one may argue if the design should be changed ;)). Available since
+4.7.4+, 5.7.3+, 6.1.3+.
<li><b>$LogRSyslogStatusMessages</b> [<b>on</b>/off] - If set to on (the default),
rsyslog emits message on startup and shutdown as well as when it is HUPed.
This information might be needed by some log analyzers. If set to off, no such