summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'master' into v5-develRainer Gerhards2009-06-261-3/+2
|\| |
| * | got rid of the recursive requirement for msg_t mutex (finally!)Rainer Gerhards2009-06-261-3/+2
| | |
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-5/+13
|\| | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | optimized TAG handlingRainer Gerhards2009-06-231-2/+4
| | |
| * | more strict parsing of the hostname in rfc3164 modeRainer Gerhards2009-06-231-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... hopefully removes false positives (but may cause some trouble with hostname parsing). For details, see this bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=126 This patch is not optimal for v4 - another one will follow. The spirit of this commit is to enable easier backporting if someone is interested in doing so.
| * | restored repeated message reduction processingRainer Gerhards2009-06-231-0/+3
| | |
| * | some more optimizationsRainer Gerhards2009-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | | - done malloc() instead of calloc() for msg_t, as we have large space which needs not be initialized - shrunk syslogTime structure in the hope to get better cache and write performance (non-aligned data should not hurt much here)
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-221-0/+1
|\| |
| * | optimized processing of TAG message fieldRainer Gerhards2009-06-221-0/+1
| | |
* | | Merge branch 'omfile' into tmpRainer Gerhards2009-06-221-0/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * | added basic plumbing to support message properties separate from messageRainer Gerhards2009-06-161-0/+1
| | | | | | | | | | | | | | | will fill this with live somewhat later, noticed I need to do some stage work first (at least this is useful).
| * | milestone: input-side multiSubmit capabilityRainer Gerhards2009-06-161-0/+13
| | | | | | | | | | | | ... commit before I try to touch the queue side ;)
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-161-1/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * | minor cleanupRainer Gerhards2009-06-161-1/+0
| | |
| * | Merge branch 'master' into omfileRainer Gerhards2009-06-161-0/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| | * some performance optimizationsRainer Gerhards2009-06-161-0/+2
| | | | | | | | | | | | | | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
| * | implemented $OMFileFlushOnTXEnd directiveRainer Gerhards2009-06-121-8/+0
| | | | | | | | | | | | plus some cleanup...
| * | re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-0/+13
| | | | | | | | | | | | | | | | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
| * | re-enabled outchannel functionalityRainer Gerhards2009-06-121-0/+3
| | |
| * | restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-101-1/+18
| | | | | | | | | | | | | | | | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
| * | Merge branch 'master' into omfileRainer Gerhards2009-06-041-1/+4
| |\|
| * | first proof of concept on zipped file writerRainer Gerhards2009-06-031-0/+1
| | | | | | | | | | | | | | | | | | This DOES NOT work sufficiently well, I just wanted to verify that zip writing is possible and files are readable. Will be refined soon.
* | | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am
| * | backported some of the v5 testbenchRainer Gerhards2009-06-041-1/+4
| |/ | | | | | | | | | | | | | | this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-0/+4
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * added a generic network stream serverRainer Gerhards2009-06-021-0/+3
| | | | | | | | (in addition to rather specific syslog tcp server)
| * Merge branch 'beta'Rainer Gerhards2009-05-291-0/+1
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-291-0/+1
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | | * fixed a regression of yesterday's patchRainer Gerhards2009-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | ... I know I should not have done this to a stable branch... Thankfully nothing was yet released.
* | | | interim commit: working on failure casesRainer Gerhards2009-05-271-0/+1
| | | | | | | | | | | | | | | | slightly improved situation, would like to save it before carrying on
* | | | solved design issue with queue terminationRainer Gerhards2009-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and also improved the test suite. There is a design issue in the v3 queue engine that manifested to some serious problems with the new processing mode. However, in v3 shutdown may take eternally if a queue runs in DA mode, is configured to preserve data AND the action fails and retries immediately. There is no cure available for v3, it would require doing much of the work we have done on the new engine. The window of exposure, as one might guess from the description, is very small. That is probably the reason why we have not seen it in practice.
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * | | added new testing module imdiagRainer Gerhards2009-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-221-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* | | | free last processed message in all casesRainer Gerhards2009-05-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so far, the last processed message was only freed when the next one was processed. This has been changed now. More precisely, a better algorithm has been selected for the queue worker process, which also involves less overhead than the previous one. The fix for "free last processed message" as then more or less a side-effect (easy to do) of the new algorithm.
* | | | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* | | | action batch processing implementedRainer Gerhards2009-05-121-0/+1
| | | | | | | | | | | | | | | | ... passed initial tests, but of course more are needed
* | | | moving to a cleaner implementation of batchesRainer Gerhards2009-05-121-0/+2
| | | | | | | | | | | | | | | | ... now that we know what we need from a theoretical POV.
* | | | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-121-0/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | added capability to draw configuration graphsRainer Gerhards2009-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added $GenerateConfigGraph configuration command which can be used to generate nice-looking (and very informative) rsyslog configuration graphs. - added $ActionName configuration directive (currently only used for graph generation, but may find other uses)
* | | | begin implementation of new transactional output module interfaceRainer Gerhards2009-04-271-0/+11
| | | | | | | | | | | | | | | | code is not complete, error cases are not handled.
* | | | first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-221-0/+1
|/ / / | | | | | | | | | | | | | | | ... but this code has serious problems when terminating the queue, also it is far from being optimal. I will commit a series of patches (hopefully) as I am on the path to the final implementation.
* | | Merge branch 'nextmaster' into oracleRainer Gerhards2009-04-161-0/+4
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ Merge branch 'omprog' into nextmasterRainer Gerhards2009-04-141-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| | * | | improved omprog, now ready for first practical testingRainer Gerhards2009-04-011-0/+1
| | | | |
| | * | | initial work on omprog, an output module to send messages to another programRainer Gerhards2009-04-011-0/+2
| | | | |
| * | | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | | | added a new error code for too-old rsyslog coreRainer Gerhards2009-04-161-0/+1
|/ / / / | | | | | | | | | | | | | | | | which can be emittend when plugin can not load due to missing core functionality.
* | / / improved internal handling of RainerScript functionsRainer Gerhards2009-04-061-0/+4
| |/ / |/| | | | | | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"