summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* created new class ctok_tokenRainer Gerhards2008-02-201-0/+1
|
* - added ctok class (the config tokenizer)Rainer Gerhards2008-02-191-1/+6
| | | | - done stage work to begin implement tokenizer
* some include file cleanupRainer Gerhards2008-02-191-3/+0
|
* cleanupRainer Gerhards2008-02-191-6/+0
|
* - moved config file code to its own fileRainer Gerhards2008-02-191-1100/+16
| | | | | | - finally made CONT_LINES in config the only standard support (the code contained code for other case, which were never executed by the preprocessor)
* - added doc on how expressions will workRainer Gerhards2008-02-191-2/+2
| | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros
* - removed no longer necessary signal from threads.cRainer Gerhards2008-02-181-6/+10
| | | | | - changed debug output request signal to SIGUSR2 (as originally intented), restored SIGUSR1 semantics
* - changed interface "printchopped()" so that it looks more like a genericRainer Gerhards2008-02-181-8/+19
| | | | | | | message submission interface. Part of the ongoing modularization effort. - bugfix: invalid kernel log format -- see bug http://bugzilla.adiscon.com/show_bug.cgi?id=1
* - implemented $ActionLibdbiDriverDirectory config directiveRainer Gerhards2008-02-151-2/+0
| | | | | - some cleanup - doc improvements
* did some more work on omlibdbi, but did not yet get libdbi working. I guessRainer Gerhards2008-02-151-0/+2
| | | | its a compile problem, but have not found it so far.
* - added new facility and severity syntaxes to cfsysline handlerRainer Gerhards2008-02-141-1/+0
| | | | | - implemented $InputFileFacility config directive - implemented $InputFileSeverity config directive
* moved decoding of syslog names to a more appropriate placeRainer Gerhards2008-02-141-90/+3
|
* - fixed a race condition in DoDie() - cosmetic issue in debugging mode,Rainer Gerhards2008-02-131-2/+2
| | | | | could not happen in production - added the ability to persist current read location for the file monitor
* - introduced a new, more powerful, message submission interface submitMsg()Rainer Gerhards2008-02-131-2/+22
| | | | | | in additon to logmsg() - a first, rough implementation of imfile that is able to read files (but does not persist or handle rotation or whatever)
* changed interface of logmsg() to make it more straightforwardRainer Gerhards2008-02-131-8/+5
|
* - improved diagnostic information for abort casesRainer Gerhards2008-02-121-0/+2
| | | | | - some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort
* bugfix: discard action and backup actions did not work due to problem inRainer Gerhards2008-02-121-4/+4
| | | | | | direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552
* 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