summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - changed the ommysql output plugin so that the (lengthy) connectionRainer Gerhards2008-01-301-6/+0
| | | | | | | 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
* finally implemented infinite action retries via -1 retry countRainer Gerhards2008-01-301-0/+1
|
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-6/+6
| | | | | | 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)
* implemented naming for all objects (mostly as a debug aid, but you neverRainer Gerhards2008-01-291-10/+3
| | | | know what else it will be good for)
* - moved correct retry logic into action processing queueRainer Gerhards2008-01-291-0/+2
| | | | | - removed debugging support from sync class, debug class now provides much more
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-188/+7
| | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;))
* - implemented the $ActionResumeRetryCount config directiveRainer Gerhards2008-01-281-5/+25
| | | | | | | | | | | | | | | | | | | | | - 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
* implemented the $ActionResumeRetryCount config directiveRainer Gerhards2008-01-281-33/+6
|
* - added "runtime instrumentation" feature to ./configureRainer Gerhards2008-01-281-5/+11
| | | | - some more cleanup
* - cleanup to prepare for releaseRainer Gerhards2008-01-281-19/+13
| | | | - PID file is now also written in debug mode
* some more testing and cleanup with the queue class (pretty stable now)Rainer Gerhards2008-01-281-1/+3
|
* fixed queue termination in case bSaveOnShutdown is 0Rainer Gerhards2008-01-271-1/+1
|
* fixed a bug when shutting down DA queueRainer Gerhards2008-01-271-3/+20
|
* partially fixed bug that caused rsyslogd to stall processing enqueuedRainer Gerhards2008-01-261-0/+1
| | | | | | messages after turning off DA mode and before any new message were arrived (if a new message arrived, everything went back to normal, so it was a temporary halt)
* disk-assisted queue mode finally begins to look good ;)Rainer Gerhards2008-01-251-0/+1
|
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-83/+73
| | | | | | 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...
* saving stateRainer Gerhards2008-01-181-1/+1
|
* worked on threadingRainer Gerhards2008-01-171-8/+8
|
* implemented dynamic startup and shutdown of worker threads based on currentRainer Gerhards2008-01-161-0/+2
| | | | activity
* begin disk assisted queue memory queue modes (not fully implemented yet)Rainer Gerhards2008-01-141-7/+14
|
* also implemented $MainMsgQueueDiscardMark logic on dequeue, changedRainer Gerhards2008-01-141-2/+2
| | | | defaults
* - implemented config file handlers forRainer Gerhards2008-01-141-0/+19
| | | | | | | | $MainMsgQueueHighWaterMark $MainMsgQueueLowWaterMark $MainMsgQueueDiscardMark $MainMsgQueueDiscardSeverity but did NOT yet implement the functionality behind these directives!
* fixed broken fix ;)Rainer Gerhards2008-01-141-1/+1
|
* fixed a bug with standard template definitions - thanks to varmojfekoj forRainer Gerhards2008-01-141-1/+1
| | | | spotting it
* - implemented $MainMsgQueueTimeoutActionCompletion config directiveRainer Gerhards2008-01-141-6/+42
| | | | | | - implemented $MainMsgQueueTimeoutEnqueue config directive - implemented $MainMsgQueueTimeoutShutdown config directive - some cleanup
* removed no longer needed "Initialized" logic and variableRainer Gerhards2008-01-141-47/+3
|
* renamed $MainMsgQueuePersistUpdateCount config file directive toRainer Gerhards2008-01-131-2/+2
| | | | $MainMsgQueueCheckpointInterval
* added $MainMsgQueuePersistUpdateCount config file directiveRainer Gerhards2008-01-131-2/+6
|
* support for reading back persistet queue information completedRainer Gerhards2008-01-131-0/+1
|
* support for object property bags addedRainer Gerhards2008-01-111-0/+1
|
* added $MainMsgQueueImmediateShutdown config directiveRainer Gerhards2008-01-111-4/+9
|
* - begun to permit queue to terminate without being drainedRainer Gerhards2008-01-111-15/+42
| | | | | | - fixed a starvation condition in queueWorker (pthread_yield() was needed) could not be seen with any previously released code, came up during new development
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-2/+13
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* changed some config parameters and some cleanupRainer Gerhards2008-01-101-12/+12
|
* created a generic stream class (for file access)Rainer Gerhards2008-01-091-0/+2
|
* implemented $MainMsgQueueFilePrefix configuration directiveRainer Gerhards2008-01-091-2/+14
|
* - implemented new GetSize() handler for config filesRainer Gerhards2008-01-091-6/+15
| | | | - implemented $MainMsgQueueMaxFileSize configuration directive
* completed deserialization support in msg object (but not deserializerRainer Gerhards2008-01-081-1/+1
| | | | itself)
* added --enable-mudflap ./configure optionRainer Gerhards2008-01-081-3/+6
|
* - first implementation of "disk" queue mode finished. It still needs someRainer Gerhards2008-01-081-4/+9
| | | | | | | work and the deserializer needs also to be expanded, but the queue at least performs well now. - fixed a race condition that could occur when input modules were terminated
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-30/+12
| | | | | - defined a property class - implemented deserializer (needs some more work)
* implemented class type registryRainer Gerhards2008-01-071-0/+1
|
* removed some no-longer-needed code (thanks Michael Biebl for the help)Rainer Gerhards2008-01-051-4/+0
|
* - added multiple worker thread capability to queue classRainer Gerhards2008-01-051-3/+12
| | | | - implemented $MainMsgQueueWorkerThreads config directive
* added the "direct" queueing mode to queue class (no queing at all)Rainer Gerhards2008-01-051-3/+14
|
* added capability for concurrent access to the msg class. Can be dynamicallyRainer Gerhards2008-01-051-0/+5
| | | | activated. If active, locking is employed.
* changed queue object Construction/Startup interfaceRainer Gerhards2008-01-041-1/+5
|
* moved message destruction back to consumer - the consume should decide whatRainer Gerhards2008-01-041-6/+1
| | | | | to do with the object. It may pass it on to someone else. So this would have creatd some headache in the future (maybe...).
* utilized the new auto-destruction capability so that the queue can nowRainer Gerhards2008-01-041-1/+4
| | | | destruct user objects if needed
* removed serialization pointer from queue; used new base class insteadRainer Gerhards2008-01-041-1/+1
|