summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* bugfix: setting for $EscapeCopntrolCharactersOnReceive was not properlyRainer Gerhards2008-02-121-1/+1
| | | | initialized
* reduced volume of debug outputRainer Gerhards2008-02-121-1/+0
|
* cosmetic...Rainer Gerhards2008-02-121-2/+1
|
* fixed bug that caused invalid treatment of tabs (HT) in rsyslog.confRainer Gerhards2008-02-121-2/+6
|
* some cleanup on logerrorVar()Rainer Gerhards2008-02-111-0/+1
|
* Added debug function logerrorVar, which can have variable number ofAndre Lorbach2008-02-111-0/+26
| | | | | parameters. Replaced debug prints in omsnmp with logerrorVar where needed.
* bugfix: trailing ":" of tag was lost while parsing legacy syslog messagesRainer Gerhards2008-02-111-1/+3
| | | | without timestamp - thanks to Anders Blomdell for providing a patch!
* added x-info field to rsyslogd startup/shutdown message. Hopefully pointsRainer Gerhards2008-02-111-2/+2
| | | | | users to right location for further info (many don't even know they run rsyslog ;))
* bugfix: having fun with 32/64 bit portability - after 15 years, I finallyRainer Gerhards2008-01-311-3/+3
| | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
* - rename $<obj>TimoutWorkerThreadShutdown toRainer Gerhards2008-01-311-2/+2
| | | | | | | $<obj>WorkerTimoutThreadShutdown for consistency reasons - changed default for action queue size to 1000 elements (more reasonable here) - fixed bug in sample rsyslog.conf
* - implemented limiting disk space allocated to queuesRainer Gerhards2008-01-301-0/+7
| | | | | - addded $MainMsgQueueMaxDiskSpace config directive - addded $ActionQueueMaxDiskSpace config directive
* - implemented simple output rate limitingRainer Gerhards2008-01-301-0/+4
| | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-15/+0
| | | | | varmojfekoj provided the patch - many thanks! - adopted varmojfekoj's patch to v3, some more sterror_r's ;)
* fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-2/+16
| | | | varmojfekoj provided the patch - many thanks!
* - 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
|