summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into tmpRainer Gerhards2009-05-1912-76/+446
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * updated ChangeLog with Michael Biebl's changesRainer Gerhards2009-05-191-1/+2
| |
| * Cleanup configure.ac a little for better readabilityMichael Biebl2009-05-191-32/+44
| | | | | | | | | | | | | | | | - Use 2 new lines as separator between configure options. - Remove forgotten copy&paste text. - Reorder and move template configure option to the end. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Improve ./configure outputMichael Biebl2009-05-191-28/+38
| | | | | | | | | | | | | | Improve readability of the ./configure output by grouping relevant entries and indenting them. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Rename want_gssapi_krb5 to enable_gssapi_krb5Michael Biebl2009-05-191-6/+6
| | | | | | | | | | | | | | Be consistent and rename the configure variable want_gssapi_krb5 to enable_gssapi_krb5. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Do not fail "make check" if omstdout is not enabledMichael Biebl2009-05-192-6/+7
| | | | | | | | | | | | | | | | | | Only run omod-if-array.sh and parsertest.sh test if omstdout plugin is enabled. Remove the comment and fix the help output for --enable-stdout (default was "no", not "yes") Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Fix compiler warningsMichael Biebl2009-05-193-0/+3
| | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Cleanup and typo fixesMichael Biebl2009-05-192-7/+3
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Add autogen.shMichael Biebl2009-05-191-0/+32
| | | | | | | | | | | | | | | | This file is useful for building rsyslog from git. It is a shortcut for autoreconf and ./configure and enables shave by default. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Add shave supportMichael Biebl2009-05-195-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shave tranforms the verbose autotools output into a pretty Kbuild-like one which makes it easier to spot warnings. See also http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/ git clone git://git.lespiau.name/shave By default, shave is disabled and you have to explicitly enable it via ./configure --enable-shave. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | removed queue's UngetObj() callRainer Gerhards2009-05-183-109/+15
| | | | | | | | ... which is no longer needed thanks to the new queue design.
* | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-187-60/+342
| | | | | | | | | | | | ... 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.
* | worked more on the design documentRainer Gerhards2009-05-155-29/+205
| |
* | worked on rsyslog design document (queue design enhancement)Rainer Gerhards2009-05-145-6/+218
| |
* | moved user object destruction to queue itselfRainer Gerhards2009-05-134-6/+38
| | | | | | | | | | | | So far, the consumer was responsible for destroying objects. However, this does not work well with ultra-reliable queues. This is the first move to support them.
* | added test for property replacer field functionality to testbenchRainer Gerhards2009-05-133-5/+16
| | | | | | | | plus some cosmetic changes
* | action batch processing implementedRainer Gerhards2009-05-123-25/+136
| | | | | | | | ... passed initial tests, but of course more are needed
* | one astrisk too much - and we have a segfault... - fixed ;)Rainer Gerhards2009-05-121-1/+1
| |
* | moving to a cleaner implementation of batchesRainer Gerhards2009-05-1210-60/+132
| | | | | | | | ... now that we know what we need from a theoretical POV.
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-1215-60/+593
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * doc: given some concrete advise on the common %hostname% content problemRainer Gerhards2009-05-111-1/+8
| |
| * added capability to draw configuration graphsRainer Gerhards2009-05-1113-13/+530
| | | | | | | | | | | | | | | | - 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)
| * Make it recover from errors on insertions.Luis Fernando Muñoz Mejías2009-04-291-5/+4
| | | | | | | | | | | | | | | | | | If the database rejected some entry, making the statement fail on it, the batch was not cleaned and the same values were retried over and over, causing a cascade of failures and a denial of service. We use now OCI_BATCH_ERRORS so that everything valid in the batch is inserted, and rejected values can be discarded.
| * Replace get_db_statement by a template.Luis Fernando Muñoz Mejías2009-04-291-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reading a complete line, we'll use a template and delegate in the core to read such template. Then, all omoracle has to do is to find that template and use it as the prepared statement. I'm not sure if this is the correct approach, though. It has to dig too much into rsyslog's structures... txt_statement is stored in a private area, so that we don't mess too much with rsyslog's internals (I still don't feel comfortable with this much digging into template structures).
| * Add the $OmoracleBatchItemSize directiveLuis Fernando Muñoz Mejías2009-04-291-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This directive controls the amount of memory needed for properties in the batch. Users should specify the largest value they expect in the statement. As per Rainer's comment: on MAX_BUFSIZE: I'd tend to make this configurable, because with RFC5424 messages can be much longer and RFC5425 now recommends a minimum maximum size of 8K. So we let users to choose. Maybe we need a sensible default value to make users' lifes easier? Also, the old non-vector based interface is not supported anymore. I broke it already when moving to this stage.
| * Add licensing information.Luis Fernando Muñoz Mejías2009-04-292-0/+10
| | | | | | | | | | I'm not sure if GPLv3 contemplates the ability to link to proprietary software, if it was previous work. I explicitly allow linking to OCI.
* | doc: added "overall picture" of what rsyslog isRainer Gerhards2009-05-111-5/+4
| |
* | worked on rsyslog design internals paperRainer Gerhards2009-05-083-38/+197
| |
* | added design documentRainer Gerhards2009-05-081-0/+397
| |
* | fixed some bugs & added testing helpersRainer Gerhards2009-05-072-32/+231
| | | | | | | | | | | | | | The action state machine now works correctly and has been verified a few hand-picked cases. I am missing automatted tests, though, this is not easy to achive... Anyhow, I've improved omtesting, so that it can be used in such automatted tests.
* | first shot at action state machine implemention (untested)Rainer Gerhards2009-05-074-132/+372
| | | | | | | | | | I am commiting it so that the code is visible, but will no begin with the test environment.
* | added action processing message state diagramRainer Gerhards2009-04-301-0/+33
| |
* | minor cleanupRainer Gerhards2009-04-291-1/+2
| |
* | begin implementation of new transactional output module interfaceRainer Gerhards2009-04-278-17/+313
| | | | | | | | code is not complete, error cases are not handled.
* | fixed abort condition in DA modeRainer Gerhards2009-04-235-8/+2
| |
* | fixing a small (newly-introduced) memory leakRainer Gerhards2009-04-234-25/+13
| | | | | | | | | | ... plus simplifying free() calls after agreement on mailing list that we no longer need to check if the pointer is non-NULL
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-232-12/+58
|\|
| * performance enhancement: imtcp calls parser no longer on input threadRainer Gerhards2009-04-232-12/+58
| | | | | | | | | | | | but rather inside on of the potentially many main msg queue worker threads (an enhancement scheduled for all input plugins where this is possible)
* | added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-2311-20/+60
| | | | | | | | configuration directives
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-232-5/+16
|\|
| * Merge branch 'beta'Rainer Gerhards2009-04-232-7/+20
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * bugfix: compile problems in im3195Rainer Gerhards2009-04-232-1/+3
| | |
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-232-6/+16
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| | | * bugfix: light and full delay watermarks had invalid valuesRainer Gerhards2009-04-232-6/+12
| | | | | | | | | | | | | | | | | | | | ... badly affecting performance for delayable inputs (but not causeing any other issues)
| | * | preparing for 4.1.7v4.1.7Rainer Gerhards2009-04-223-3/+3
| | | |
* | | | improving debugging info a bitRainer Gerhards2009-04-232-3/+7
| | | |
* | | | added test for DA queue mode (in main msg queue) - needs more workRainer Gerhards2009-04-224-7/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that the rsyslog engine writes messages too quickly, so that the queue never enters DA mode. We still have some look contemption. One possible solution (hopefully) is to finally move the parser code out of imtcp and onto the next thread. Need to address these issues first, then come back to the test case.
* | | | now batches are handed down to the actual consumerRainer Gerhards2009-04-224-29/+66
| | | | | | | | | | | | | | | | | | | | | | | | ... but the action consumer does not do anything really intelligent with them. But the DA consumer is already done, as is the main message queue consumer.
* | | | first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-227-79/+149
| | | | | | | | | | | | | | | | | | | | | | | | ... 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 'master' into multi-dequeueRainer Gerhards2009-04-2236-52/+446
|\| | |