| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
... for the purpose of conducting a few external tests. This is a
first approach at removing the time() call in the output, but it shows
there are some subleties we need to address.
|
|
|
|
|
|
|
| |
... 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.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
runtime/rsyslog.h
tools/syslogd.c
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
runtime/datetime.h
runtime/rsyslog.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
action.c
configure.ac
doc/manual.html
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(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>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
|
| | |
|
| | |
|
|/
|
|
|
| |
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
|
| |
|
|
|
|
| |
with queues - so things can be configured to be done at off-peak hours
|
|
|
|
| |
prevent unintentional message loss
|
|
|
|
| |
source and its capablity to be delayed without bad side effects)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
own class and converted to new object calling conventions
(interface-based)
- converted gss-misc into a loadable library module
|
|
|
|
|
|
|
|
|
|
|
| |
- moved module loader from conf.c to module.c, where it belongs
- made the necessary plumbing to auto-load library modules
- upgraded debug system to include iRet in function exit message
- changed module interface so that instances need only to be supported by
output plugins (if we actually need them for input plugins, we can
always add it again...)
- milestone: first implementation of library modules (but do not get
unloaded on exit/hup so far)
|
|
|
|
| |
interface structure
|
| |
|
|
|
|
| |
had a single thread and non-direct action queues were used
|
|
|
|
| |
http://bugzilla.adiscon.com/show_bug.cgi?id=4
|
|
|
|
|
| |
- some cleanup
- doc improvements
|
| |
|
|
|
|
|
| |
- some initial effort for malloc/free debugging support
- bugfix: using dynafile actions caused rsyslogd abort
|
|
|
|
|
|
| |
direct queue mode. Now fixed. Tracker was
http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_
id=123448&atid=696552
|
| |
|
|
|
|
|
| |
was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit
platforms
|
|
|
|
|
|
|
| |
- fixed wrong action suspend/resume handling
- we have some issue with the mutx in dbgoprint, but that is acceptable for
the time being, I just removed the deadlock codition (debug system
only)
|
|
|
|
|
|
|
| |
$<obj>WorkerTimoutThreadShutdown for consistency reasons
- changed default for action queue size to 1000 elements (more reasonable
here)
- fixed bug in sample rsyslog.conf
|
|
|
|
|
| |
- addded $MainMsgQueueMaxDiskSpace config directive
- addded $ActionQueueMaxDiskSpace config directive
|
|
|
|
|
|
| |
- addded $ActionQueueDequeueSlowdown config directive
- addded $MainMsgQueueDequeueSlowdown config directive
- bugfix: MsgDup() did not work with new base object data structure
|
|
|
|
|
|
|
| |
initialization now takes place in message processing. This works much
better with the new queued action mode (fast startup)
- fixed a newly introduced bug that caused output module's doAction entry
point to be called on more than one thread under some circumstances
|
| |
|
| |
|
|
|
|
|
|
| |
troubles with the framework, also it was somewhat ugly...)
- fixed a memory leak in object destruction (was recently introduced by
object naming, not present in any released version)
|
| |
|
| |
|
|
|
|
|
| |
- action queues are now also named (otherwise you can't read the debug log
;))
|
|
|
|
|
| |
- removed debugging support from sync class, debug class now provides much
more
|
|
|
|
|
| |
- restructured code, moved some part out of syslogd.c to action.c, where
they belong (still some more to do in that regard ;))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added queue between main queue and action executor (currently works in
"direct" mode only, else crashes)
- added $ActionQueueFilename config directive
- added $ActionQueueSize config directive
- added $ActionQueueHighWaterMark config directive
- added $ActionQueueLowWaterMark config directive
- added $ActionQueueDiscardMark config directive
- added $ActionQueueDiscardSeverity config directive
- added $ActionQueueCheckpointInterval config directive
- added $ActionQueueType config directive
- added $ActionQueueWorkerThreads config directive
- added $ActionQueueTimeoutshutdown config directive
- added $ActionQueueTimeoutActionCompletion config directive
- added $ActionQueueTimeoutenQueue config directive
- added $ActionQueueTimeoutworkerThreadShutdown config directive
- added $ActionQueueWorkerThreadMinimumMessages config directive
- added $ActionQueueMaxFileSize config directive
- added $ActionQueueSaveonShutdown config directive
|
| |
|
|
|
|
|
|
| |
finally in a running state for regular (non disk-assisted) queues, with
a minor nit at shutdown. So I can finally commit the work again to
CVS...
|
| |
|