2021 Commits

Author SHA1 Message Date
Rainer Gerhards
c4b93886d0 Merge branch 'beta'
Conflicts:

	doc/troubleshoot.html
2008-09-23 13:29:22 +02:00
Rainer Gerhards
75d8becf10 Merge branch 'v3-stable' into beta 2008-09-23 13:27:14 +02:00
Rainer Gerhards
765575e41f added doc on malformed messages, cause and how to work-around, to the doc set 2008-09-23 13:26:57 +02:00
Rainer Gerhards
4ee092935b Merge branch 'beta' 2008-09-22 16:30:52 +02:00
Rainer Gerhards
80fe59ba00 Merge branch 'v3-stable' into beta 2008-09-22 16:30:42 +02:00
Rainer Gerhards
c66dbfd3f7 doc bugfix: $ActionExecOnlyWhenPreviousIsSuspended was still misspelled
... as $...OnlyIfPrev... in some parts of the documentation. Thanks to
Lorenzo M. Catucci for reporting this bug.
2008-09-22 16:25:26 +02:00
Rainer Gerhards
f0732cb75b Merge branch 'beta' 2008-09-22 15:50:03 +02:00
Rainer Gerhards
1b2270ad3a Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
2008-09-22 15:49:54 +02:00
Rainer Gerhards
571c51fe34 bugfix: imudp input module could cause segfault on HUP
It did not properly de-init a variable acting as a linked list head.
That resulted in trying to access freed memory blocks after the HUP.
2008-09-22 15:47:58 +02:00
Rainer Gerhards
65527ca625 bumped version number 2008-09-18 10:03:34 +02:00
Rainer Gerhards
41adeb2022 preparing for 3.18.4 v3.18.4 2008-09-18 09:47:44 +02:00
Rainer Gerhards
bcb9765068 consolidated time() calls in rule engine
... but did not manage to avoid doing at least one call. So
this change introduced performance benefit only in a few
non-common situations. Anyhow, it hopefully levels ground
for better things to come.
2008-09-16 14:57:12 +02:00
Rainer Gerhards
19ac72a368 fixing previous patch, time() call was accidently left in
in one case, which was not on the focus of the initial testing
cases.
2008-09-16 13:12:50 +02:00
Rainer Gerhards
760e5f0d39 performance optimization: unnecessary time() calls during message parsing removed
thanks to David Lang for his excellent performance analysis
2008-09-16 11:56:07 +02:00
Rainer Gerhards
1e819a8afe Merge branch 'beta'
Conflicts:

	runtime/rsyslog.h
	tools/syslogd.c
2008-09-12 15:17:47 +02:00
Rainer Gerhards
4e86efaf0e fixed duplicate error number
This probably happened during a branch merge and was not detected.
Fixed now, should not haved any harm.
2008-09-12 15:15:28 +02:00
Rainer Gerhards
63994d092c Merge branch 'v3-stable' into beta
Conflicts:

	runtime/datetime.h
	runtime/rsyslog.h
2008-09-12 15:11:38 +02:00
Rainer Gerhards
c04f196e25 Merge branch 'v2-stable' into v3-stable
Conflicts:

	ChangeLog
	syslogd.c
2008-09-12 14:53:17 +02:00
Rainer Gerhards
4bc99a5ead bugfix: copy&paste error lead to dangling if
this caused a very minor issue with re-formatting a RFC3164 date when the
message was invalidly formatted and had a colon immediately after the date.
This was in the code for some years (even v1 had it) and I think it never
had any effect at all in practice. Though, it should be fixed - but definitely
nothing to worry about.
2008-09-12 14:46:16 +02:00
Rainer Gerhards
920cc1e164 bugfix: colon after date should be ignored, but was not.
This has now been corrected. Required change to the
internal ParseTIMESTAMP3164() interface.
2008-09-12 14:20:47 +02:00
Rainer Gerhards
262f61d869 added properties "inputname" and "$myhostname"
- added message property "inputname", which contains the name of the
  input (module) that generated it. Presence is depending on suport in
  each input module (else it is blank).
- added system property "$myhostname", which contains the name of the
  local host as it knows itself.
2008-09-10 15:59:53 +02:00
Rainer Gerhards
1d97cb00bd added doc for new property replacer feature
(see previous commit)
2008-09-10 12:29:44 +02:00
Zhuang Yuyao
d65470842d added new capability to property replacer.
Multiple immediately successive field delimiters are treated as
a single one.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-10 12:18:34 +02:00
Marius Tomaschewski
7ad8addeb5 bugfix: option value for legacy -a option could not be specified
resulting in strange operations.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-10 11:53:34 +02:00
Rainer Gerhards
8cb83af111 bugfix: incorrect default discard severity could cause message loss
default discard severity was incorrectly set to 4, which lead
to discard-on-queue-full to be enabled by default. That could cause
message loss where non was expected.  The default has now been changed
to the correct value of 8, which disables the functionality. This
problem applied both to the main message queue and the action queues.
Thanks to Raoul Bhatia for pointing out this problem.
2008-09-10 08:14:12 +02:00
Rainer Gerhards
702140afad bugfix: error code -2025 was used for two different errors.
Queue full is now -2074 and -2025 is unique again.
(did cause no real problem
  except for troubleshooting)
2008-09-04 14:18:42 +02:00
Rainer Gerhards
ae425d47c5 updated project status page & bumped version number 2008-09-04 12:46:50 +02:00
Rainer Gerhards
5e9f5d65c1 prepared for 3.21.4 release v3.21.4 2008-09-04 12:35:42 +02:00
Rainer Gerhards
25bc87872a Merge branch 'beta'
Conflicts:

	ChangeLog
	action.c
	configure.ac
	doc/manual.html
2008-09-02 12:03:32 +02:00
Rainer Gerhards
2082d96397 Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
2008-09-02 11:56:34 +02:00
Lukas Kuklinek
fcc4d77dd3 doc bugfix: rsyslog.conf man page improved and minor nit fixed
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-02 11:52:40 +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
183001fac5 bumped version number 2008-09-01 16:42:41 +02:00
RB
8cba42c16a bugfix: order-of magnitude issue with base-10 size definitions in config file parser.
Could lead to invalid sizes, constraints etc for e.g. queue files
and any other object whose size was specified
in base-10 entities. Did not apply to binary entities.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-01 16:40:24 +02:00
varmojfekoj
6cbc5652dd bugfix: action was not called when system time was set backwards
(until the previous time was reached again). There are still some
side-effects when time is rolled back (A time rollback is really a bad
thing to do, ideally the OS should issue pseudo time (like NetWare did)
when the user tries to roll back time).

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-09-01 16:00:22 +02:00
Rainer Gerhards
c2f30a2fc3 Merge branch 'beta'
Conflicts:

	ChangeLog
2008-08-15 14:02:07 +02:00
Rainer Gerhards
9b46c03ce2 preparing for 3.19.11 v3.19.11 2008-08-15 13:07:48 +02:00
Rainer Gerhards
8a1751d1c9 Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	configure.ac
	doc/rsyslog_ng_comparison.html
2008-08-15 12:59:24 +02:00
Rainer Gerhards
3f2856b4b5 preparing for 3.18.3 v3.18.3 2008-08-15 12:54:42 +02:00
Rainer Gerhards
3aa86ed554 fixed cross-platform compile problem introduced with recent change
...which fixed the imfile segfault issue.
2008-08-15 12:21:26 +02:00
Rainer Gerhards
bf3a0f7288 updated syslog-ng comparison thanks to William 2008-08-15 12:16:49 +02:00
Rainer Gerhards
8aa2b21f7f enhanced doc for $ActionExecOnlyEveryNthTimeTimeout 2008-08-14 12:58:48 +02:00
Rainer Gerhards
7b456ce548 bugfix: imfile could cause a segfault upon rsyslogd HUP and termination
Thanks to lperr for an excellent bug report that helped detect this
problem.
2008-08-14 11:19:02 +02:00
Rainer Gerhards
14dddb70e9 bumped version number 2008-08-13 15:30:56 +02:00
Rainer Gerhards
d7e3240a92 prepared for 3.21.2 v3.21.3 2008-08-13 15:25:22 +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
8eb888d049 disabled flow control for imuxsock
It could cause system hangs under some circumstances.
The devel (3.21.3 and above) will re-enable it and provide
enhanced configurability to overcome the problems if they occur.
2008-08-13 14:38:23 +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
018b2f4c86 bugfix: misspelled config directive + bumped version number
Previously was $MainMsgQueueWorkeTimeoutrThreadShutdown, is now
$MainMsgQueueWorkerTimeoutThreadShutdown. Note that the misspelled
directive is not preserved - if the misspelled directive was used
(which I consider highly unlikely), the config file must be changed.
Thanks to lperr for reporting the bug.
2008-08-12 10:56:48 +02:00