From 4a50211fc1334513013da769174b74a656bfeae3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 8 Jan 2008 08:00:07 +0000 Subject: fixed doc bug --- doc/v3compatibility.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/v3compatibility.html b/doc/v3compatibility.html index 3128990d..c3e0d601 100644 --- a/doc/v3compatibility.html +++ b/doc/v3compatibility.html @@ -22,13 +22,13 @@ rsyslog do any useful work. The config file directives doc briefly lists which config statements are available by which modules.

It is suggested that input modules be loaded in the top part of the config file. Here is an example, also highlighting the most important modules:

-

$ModLoad immark   # provides --MARK-- message capability
-$ModLoad imudp  # provides UDP syslog reception
-$ModLoad imtcp  # provides TCP syslog reception and GSS-API (if compiled to -support it)
-$ModLoad imuxsock # provides support for local system logging (e.g. via logger -command)
-$ModLoad imklog # provides kernel logging support (previously done by rklogd)

+

$ModLoad immark.so  # provides --MARK-- message capability
+$ModLoad imudp.so  # provides UDP syslog reception
+$ModLoad imtcp.so  # provides TCP syslog reception and GSS-API (if compiled +to support it)
+$ModLoad imuxsock.so # provides support for local system logging (e.g. via +logger command)
+$ModLoad imklog.so # provides kernel logging support (previously done by rklogd)

command line options

A number of command line options have been removed. New config file directives have been added for them. Once we implement compatibiltiy mode, these @@ -36,7 +36,7 @@ options will return, but only if running in non-v3-native mode.

-m command line option

The -m command line option is ignored for the time being. There is no default mark period. If you need a 20 minute mark period you need to

-

$ModLoad immark # wherever this is
+

$ModLoad immark.so  # wherever this is
$MarkMessageInterval 1800 # 20 minutes

-r command line option

Is also no longer available. Use the $UDPSeverRun <port> config file @@ -44,14 +44,14 @@ directives. You can now also set the local address the server should listen to via $UDPServerAddress <ip> config directive.

The following example configures an UDP syslog server at the local address 192.0.2.1 on port 514:

-

$ModLoad imudp
+

$ModLoad imudp.so
$UDPSeverAddress 192.0.2.1 # this MUST be before the $UDPServerRun directive!
$UDPServerRun 514

"$UDPServerAddress *" means listen on all local interfaces. This is the default if no directive is specified.

Please note that now multiple listeners are supported. For example, you can do the following:

-

$ModLoad imudp
+

$ModLoad imudp.so
$UDPSeverAddress 192.0.2.1 # this MUST be before the $UDPServerRun directive!
$UDPServerRun 514
$UDPSeverAddress * # all local interfaces
@@ -68,7 +68,7 @@ in the "Run" directive, e.g. "$UDPServerRun syslog".<

klogd

klogd has (finally) been replaced by a loadable input module. To enable klogd functionality, do

-

$ModLoad imklog

+

$ModLoad imklog.so

A limited set of klogd command line settings is now supported via rsyslog.conf. That set of configuration directives is to be expanded. So far, we support:

-- cgit