summaryrefslogtreecommitdiffstats
path: root/runtime/modules.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-beta' into betaRainer Gerhards2009-10-051-1/+1
|\
| * bugfix[minor]: CHKiRet improperly usedRainer Gerhards2009-10-021-1/+1
| |
* | bugfix: discard action caused segfaultRainer Gerhards2009-07-301-3/+5
| |
* | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-201-3/+13
| | | | | | | | | | | | | | | | ... but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).
* | Merge branch 'master' into v5-develRainer Gerhards2009-07-011-0/+1
|\|
| * separate willRun and runInput calls for input modulesMichael Terry2009-06-291-0/+1
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-251-0/+29
|\|
| * solved some issues with testbench & a race conditionRainer Gerhards2009-05-251-1/+9
| |
| * improved testbench / solved imdiag race conditionRainer Gerhards2009-05-251-0/+21
| | | | | | | | | | | | | | | | | | imdiag/imtcp had a modload race condition (as imdiag is a testing aid, this has no implications for production deployments). Also, I replaced netcat by a custom program to talk to imdiag. This, for the first time ever, is now a Java program. I plan to add some GUI troubleshooting tools and thought it is a good idea to start doing things in Java that can simply be done in that language.
* | first shot at action state machine implemention (untested)Rainer Gerhards2009-05-071-2/+23
| | | | | | | | | | I am commiting it so that the code is visible, but will no begin with the test environment.
* | begin implementation of new transactional output module interfaceRainer Gerhards2009-04-271-1/+28
|/ | | | code is not complete, error cases are not handled.
* added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-031-0/+2
| | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated.
* improved testing supportRainer Gerhards2009-03-191-1/+1
| | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* integrated various patches for solarisRainer Gerhards2009-03-051-0/+4
| | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* added configuration directive "HUPisRestart"Rainer Gerhards2008-10-231-0/+5
| | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* added capability to support multiple module search pathes.Marius Tomaschewski2008-10-201-35/+73
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-5/+5
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* bugfix: some error states were swappedRainer Gerhards2008-06-201-0/+2
| | | | | | | | ... in gnutls code, resulting in some hard too understand error messages. Also genereally improved certificate error messages a bit. Also, added GnuTLS debugging support.
* fixed problem with module unload sequenceRainer Gerhards2008-04-291-4/+9
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-1/+0
| | | | | | | | | | - 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.
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* moved files to the runtimeRainer Gerhards2008-04-161-0/+803
there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.