| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is the correct patch. The previous one solved the segfault, but
disabled the -q/Q options.
|
|
|
|
|
| |
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=157
Thanks to Jonas Nogueira for reporting this bug.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- bugfix: invalid error message issued if $inlcudeConfig was on an empty
set of files (e.g. *.conf, where none such files existed)
thanks to Michael Biebl for reporting this bug
- bugfix: when run in foreground (but not in debug mode), a
debug message ("DoDie called") was emitted at shutdown. Removed.
thanks to Michael Biebl for reporting this bug
- bugfix: some garbagge was emitted to stderr on shutdown. This
garbage consisted of file names, which were written during
startup (key point: not a pointer error)
thanks to Michael Biebl for reporting this bug
- bugfix: startup and shutdown message were emitted to stdout
thanks to Michael Biebl for reporting this bug
|
| |
|
|
|
|
| |
stderr and stdo are now kept open across fork()
|
|
|
|
|
| |
... I know I should not have done this to a stable branch... Thankfully
nothing was yet released.
|
|
|
|
| |
(testcase was only present in v4, so I did not spot the issue immediately)
|
|
|
|
| |
... as well as some other minor issues.
|
|
|
|
|
|
|
|
|
|
| |
is detected.
This change is considered important but small enough
to apply it directly to the stable version. [But it is a border case,
the change requires more code than I had hoped. Thus I have NOT tried
to actually catch all cases, this is left for the current devel
releases, if necessary]
|
|
|
|
|
|
| |
...when rsyslogd ran in forked mode (as usual!)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
runtime/msg.c
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
net.h
plugins/imtcp/imtcp.c
plugins/imudp/imudp.c
runtime/net.c
runtime/rsyslog.h
tcps_sess.c
tcpsrv.c
|
| |
| |
| |
| | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |
| |
| |
| | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |
| |
| |
| |
| |
| | |
...this improves performance and consistency and also fixes
a bug where subsecond time properties generated by imfile, imklog and
internal messages could be slightly inconsistent.
|
| |
| |
| |
| | |
multi-threading
|
| |
| |
| |
| |
| |
| |
| | |
There was a wrong order of mutex lock operations. It is hard to
believe that really caused problems, but in theory it could and with
threading we often see that theory becomes practice if something is only
used long enough on a fast enough machine with enough CPUs ;)
|
| |
| |
| |
| |
| |
| |
| | |
... 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.
|
| |
| |
| |
| |
| | |
in one case, which was not on the focus of the initial testing
cases.
|
| |
| |
| |
| |
| |
| | |
removed
thanks to David Lang for his excellent performance analysis
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
runtime/rsyslog.h
tools/syslogd.c
|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
runtime/datetime.h
runtime/rsyslog.h
|
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| |
| | |
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
plugins/imuxsock/imuxsock.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/imuxsock/imuxsock.c
|
| | |
|
| |
| |
| |
| |
| |
| | |
- bugfix: no error was reported if the target of a $IncludeConfig
could not be accessed.
- added testbed for common config errors
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
|/ |
|
|
|
|
|
|
|
| |
Conflicts:
doc/property_replacer.html
tools/syslogd.c
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85
The fix also slightly improves performance by not storing certificates in
client sessions when there is no need to do so.
|
|
|
|
|
| |
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
|
| |
|
|
|
|
|
|
| |
message reduction is turned off.
More info: http://blog.gerhards.net/2008/06/coding-to-save-environment.html
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|\ |
|
| |
| |
| |
| | |
including some cleanups
|
|/
|
|
|
|
| |
Thanks to varmjofekoj for the patch
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- added the ability to specify an error log function for the
runtime
- removed dependency of core runtime on dirty.h
Note that it is "better" modularity, not perfect. There is still
work to do, but I think we can for the time being proceed with
other things.
|
|
|
|
| |
(but still as a variable, not part of glbl object)
|
| |
|
| |
|