110 Commits

Author SHA1 Message Date
Rainer Gerhards
01e5d51c57 added doc for $MaxOpenFiles directive 2009-04-14 14:36:50 +02:00
Tom Bergfeld
47bbd838bd restructured rsyslog.conf documentation
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-10-31 14:47:30 +01:00
Rainer Gerhards
6334d335d8 added configuration directive "HUPisRestart"
...which enables to configure HUP to be either a full restart
or "just" a leightweight way to close open files
2008-10-23 14:46:47 +02:00
Rainer Gerhards
cf38fc8175 added a setting "$OptimizeForUniprocessor"
...to enable users to turn off pthread_yield calls which are
counter-productive on multiprocessor machines (but have been
shown to be useful on uniprocessors)
2008-10-22 13:54:40 +02:00
Rainer Gerhards
65f74a712b added $UDPServerTimeRequery option
...which enables to work with
less acurate timestamps in favor of performance. This enables querying
of the time only every n-th time if imudp is running in the tight
receive loop (aka receiving messsages at a high rate)
2008-10-06 14:25:23 +02:00
Rainer Gerhards
09d2e1c707 Merge branch 'beta' 2008-10-02 10:55:42 +02:00
Rainer Gerhards
9812a2af8c Merge branch 'v3-stable' into beta
Conflicts:

	runtime/net.c
2008-10-02 10:55:31 +02:00
Rainer Gerhards
8a1f6b1769 added doc on how to build from source repository 2008-10-01 10:44:56 +02:00
Michael Biebl
9d27767c5a doc fix: the gss-api output plugin is called omgssapi
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-24 17:20:31 +02:00
Rainer Gerhards
1a9ac0ced7 removed compile time fixed message size limit (was 2K)
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
2008-09-02 11:38:31 +02:00
Rainer Gerhards
8aa2b21f7f enhanced doc for $ActionExecOnlyEveryNthTimeTimeout 2008-08-14 12:58:48 +02:00
Rainer Gerhards
1a7bf0ceaa Merge branch 'beta'
Conflicts:

	plugins/imuxsock/imuxsock.c
2008-08-13 15:02:50 +02:00
Rainer Gerhards
a61e548958 Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imuxsock/imuxsock.c
2008-08-13 15:01:43 +02:00
Rainer Gerhards
02f768c37d enhanced ommysql to support custom port to connect to server
Port can be set via new $ActionOmmysqlServerPort config directive
Note: this was a very minor change and thus deemed appropriate to be
done in the stable release.
2008-08-12 16:08:09 +02:00
Rainer Gerhards
1480263b02 added ability to execute actions only after the n-th call of the action
This also lead to the addition of two new config directives:
$ActionExecOnlyEveryNthTime and $ActionExecOnlyEveryNthTimeTimeout
This feature is useful, for example, for alerting: it permits you to
send an alert only after at least n occurences of a specific message
have been seen by rsyslogd. This protectes against false positives
due to waiting for additional confirmation.
2008-08-07 16:52:31 +02:00
Rainer Gerhards
0a7f964436 Merge branch 'beta'
Conflicts:

	doc/rsyslog_conf.html
2008-08-07 10:36:54 +02:00
Rainer Gerhards
6630019294 Merge branch 'v3-stable' into beta
Conflicts:

	omfwd.c
2008-08-07 10:28:40 +02:00
Rainer Gerhards
b761fbb0f0 Merge branch 'v2-stable' into v3-stable
Conflicts:

	ChangeLog
	doc/manual.html
	doc/rsyslog_conf.html
	omfwd.c
2008-08-07 10:18:31 +02:00
Rainer Gerhards
6f75d5460b bugfix: IPv6 addresses could not be specified in forwarding action
New syntax @[addr]:port introduced to enable that. Root problem was IPv6
addresses contain colons. (backport from 3.21.3)
2008-08-07 09:07:27 +02:00
Rainer Gerhards
15adf8f1fd bugfix: IPv6 addresses could not be specified in forwarding actions
New syntax @[addr]:port introduced to enable that. Root problem was IPv6
addresses contain colons.
Also somewhat enhanced debugging messages.
2008-08-05 15:02:49 +02:00
Rainer Gerhards
d2feb7063e enhanced configuration file error reporting and verification
- enhanced config file checking - no active actions are detected
- added -N rsyslogd command line option for a config validation run
  (which does not execute actual syslogd code and does not interfere
  with a running instance)
- somewhat improved emergency configuration. It is now also selected
  if the config contains no active actions
- rsyslogd error messages are now reported to stderr by default. can be
  turned off by the new "$ErrorMessagesToStderr off" directive
Thanks to HKS for suggesting these new features.
2008-07-29 10:07:50 +02:00
Rainer Gerhards
b829284f37 Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
2008-07-25 13:51:46 +02:00
Michael Biebl
9b59581a6f use the $ModLoad syntax consistently.
Update the documentation to use the new, preferred $ModLoad syntax:
- no more MySQL
- name of the in/output plugin without the trailing .so

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-07-22 12:24:16 +02:00
Rainer Gerhards
55e01da2ec somewhat improved plain tcp syslog reliability
...by doing a connection check before sending. Credits to Martin
Schuette for providing the idea. Details are available at
http://blog.gerhards.net/2008/06/reliable-plain-tcp-syslog-once-again.html
2008-06-09 12:40:54 +02:00
Rainer Gerhards
492fb2ffe2 changed config directive name to reflect different use
$ActionSendStreamDriverCertFingerprint is now
$ActionSendStreamDriverPermittedPeer and can be used both for
fingerprint and name authentication (similar to the input side)
2008-05-22 18:58:04 +02:00
Rainer Gerhards
350f28efd9 added new transport auth methods to doc set 2008-05-21 11:41:15 +02:00
Rainer Gerhards
09afe64f29 added fromhost-ip properties and some bugfixes
- bugfix: TCP input modules did incorrectly set fromhost property
  (always blank)
- bugfix: imklog did not set fromhost property
- added "fromhost-ip" property
- added "RSYSLOG_DebugFormat" canned template
- bugfix: hostname and fromhost were swapped when a persisted message
  (in queued mode) was read in
2008-05-16 13:36:41 +02:00
Rainer Gerhards
fcbead3d4c trying to remove compiler warnings 2008-05-05 14:50:04 +02:00
Rainer Gerhards
74ab20fa5c made default certificate file locations configurable
- added $DefaultNetstreamDriverCAFile config directive
- added $DefaultNetstreamDriverCertFile config directive
- added $DefaultNetstreamDriverKeyFile config directive
2008-05-05 12:59:06 +02:00
Rainer Gerhards
a3ff7eaf85 added $ActionSendStreamDriverMode config directive 2008-04-28 14:21:58 +02:00
Rainer Gerhards
10e06c833a added $DefaultNetstreamDriver config directive 2008-04-28 12:16:18 +02:00
Rainer Gerhards
53a0ed8b3a completed im3195 including some documentation 2008-04-16 16:41:00 +02:00
Rainer Gerhards
b9198d2512 improved doc for imklog 2008-04-15 09:08:46 +02:00
Rainer Gerhards
185bc5f8e1 implemented $ActionExecOnlyOnceEveryInterval config directive 2008-04-08 12:54:09 +02:00
Rainer Gerhards
413fba03dc finalized mail output support 2008-04-08 11:48:07 +02:00
Rainer Gerhards
d853a3f7cd added im/omrelp doc 2008-04-01 17:07:41 +00:00
Rainer Gerhards
bc7d4087b2 added build-in templates 2008-03-28 11:18:42 +00:00
Rainer Gerhards
52a4bdfa41 - added support for high-precision timestamps when receiving legacy syslog
messages
- added new $ActionForwardDefaultTemplate directive
- added new $ActionGSSForwardDefaultTemplate directive
2008-03-28 10:51:41 +00:00
Rainer Gerhards
f2fcb03211 - changed default file output format to include high-precision timestamps
- added a buid-in template for previous syslogd file format
- added new $ActionFileDefaultTemplate directive
2008-03-28 10:02:22 +00:00
Rainer Gerhards
c75bd24012 - Greatly enhanced rsyslogd's filw write performance by disabling file
syncing capability of output modules by default. This feature is
    usually not required, not useful and an extreme performance hit (both
    to rsyslogd as well as the system at large). Unfortunately, most users
    enable it by default, because it was most intuitive to enable it in
    plain old sysklogd syslog.conf format. There is now a new config
    setting which must be enabled in order to support syncing. By default
    it is off. So even if the old-format config lines request syncing, it
    is not done unless explicitely enabled. I am sure this is a very useful
    change and not a risk at all. I need to think if I undo it under
    compatibility mode, but currently this does not happen (I fear a lot of
    lazy users will run rsyslogd in compatibility mode, again bringing up
    this performance problem...).
- added $ActionfileEnableSync config directive
2008-03-22 10:54:22 +00:00
Rainer Gerhards
5287b695e6 cleaned up new relp code files to make them suitable for implementation 2008-03-13 14:24:32 +00:00
Rainer Gerhards
d471e71ada fixed potential infinite loop condition when module load failed on startup 2008-03-07 16:34:51 +00:00
Rainer Gerhards
dfb2142974 added capability to ignore client-provided timestamp on unix sockets and
made this mode the default; this was needed, as some programs (e.g.
    sshd) log with inconsistent timezone information, what messes up the
    local logs (which by default don't even contain time zone information).
    This seems to be consistent with what sysklogd did for the past four
    years. Alternate behaviour may be desirable if gateway-like processes
    send messages via the local log slot - in this case, it can be enabled
    via the $InputUnixListenSocketIgnoreMsgTimestamp and
    $SystemLogSocketIgnoreMsgTimestamp config directives
2008-03-06 13:55:04 +00:00
Rainer Gerhards
b845513270 - wrote doc on how to use the expression engine
- changed ABNF to fully support old property names
- added case-insensitive comparison operations
2008-02-28 10:40:34 +00:00
Rainer Gerhards
8fdd3b45c0 added some doc for imgssapi and imtcp input modules 2008-02-22 09:13:14 +00:00
Rainer Gerhards
c150f3ce9c corrected config doc - IETF no longer intends to add facilities 2008-02-22 08:24:05 +00:00
Rainer Gerhards
1f1f6746b4 $MainMessageQueueDiscardSeverity can now also handle textual severities
(previously only integers)
2008-02-20 14:08:31 +00:00
Rainer Gerhards
b5a09481fa implemented initial tokenizer (stage work for expr parser) 2008-02-19 16:16:09 +00:00
Rainer Gerhards
c5f99dc222 - moved config file code to its own file
- finally made CONT_LINES in config the only standard support (the code
    contained code for other case, which were never executed by the
    preprocessor)
2008-02-19 11:20:18 +00:00
Rainer Gerhards
c950966d44 - implemented $ActionLibdbiDriverDirectory config directive
- some cleanup
- doc improvements
2008-02-15 12:47:28 +00:00