summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* improved internal handling of RainerScript functionsRainer Gerhards2009-04-0612-32/+345
| | | | | | | - 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"
* made sure udptester terminates only after rsyslgod it spawnedRainer Gerhards2009-04-061-0/+2
| | | | | | | We noticed this race issue under Solaris (thanks to its different scheduler, I guess). In some cases, the previous instance of rsyslogd was not terminated, resulting in a failure on the next test. Now handled correctly.
* improved parser test suiteRainer Gerhards2009-04-037-1/+19
| | | | new tests added, now much better
* improved test suite and added test for new output module interfaceRainer Gerhards2009-04-0314-25/+71
| | | | | | | | The testbench has now a generic driver that can run a whole class of test suites just by providing a config file and test cases. This does not cover all testing needs, but a lot. We have now added one test for the new array-passing output plugin interface.
* added (some) developer documentation for output plugin interfaceRainer Gerhards2009-04-034-7/+190
|
* added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-0310-10/+197
| | | | | 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.
* Merge branch 'regex'Rainer Gerhards2009-04-025-8/+42
|\
| * fully integrated regex patchRainer Gerhards2009-04-024-35/+19
| | | | | | | | | | Now have removed the previous method, as really nobody should call it any longer (and now nobody does ;)). Also did some other cleanup.
| * streamlined regex patchRainer Gerhards2009-04-024-30/+43
| | | | | | | | | | | | - abided to code conventions - fixed a potential segfault when regex library can not be loaded
| * improved performance of regexp-based filtersRainer Gerhards2009-04-024-2/+39
| | | | | | | | Thanks to Arnaud Cornet for providing the idea and initial patch.
* | clean compile on solarisRainer Gerhards2009-04-022-2/+7
|/
* added O_CLOEXEC to open() callsRainer Gerhards2009-04-025-10/+10
| | | | | | | | to make sure only the minimum number of file handles is left open during a exec call. This is not a 100% solution, as there are also some fopen() calls and, more importantly, file descriptors opened by libraries. But it is better than nothing (and it was quick, at least until we run into platform hell, what we will for sure ;)).
* add csv support to feature sheetRainer Gerhards2009-04-021-0/+3
|
* added new "csv" property replacer optionRainer Gerhards2009-04-025-4/+58
| | | | | to enable simple creation of CSV-formatted outputs (format from RFC4180 is used)
* Merge branch 'master' of git+ssh://rger@git.adiscon.com/git/rsyslogRainer Gerhards2009-04-016-8/+7
|\
| * fixed some problems with "make check"Demo2009-03-316-8/+7
| | | | | | | | | | interestingly, they manifested on Debian, only, but potentially existed on other platforms, too.
* | begining touches for putting rsyslog on spaceshipsRainer Gerhards2009-04-013-0/+139
|/
* porting parser tests to solarisRainer Gerhards2009-03-313-35/+64
|
* Merge branch 'master' into sol-testRainer Gerhards2009-03-3116-12/+499
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * bugfix: "make distcheck" did not workRainer Gerhards2009-03-312-5/+9
| |
| * changed parser test suite to be c-program basedRainer Gerhards2009-03-315-88/+270
| | | | | | | | | | | | | | | | I finally removed the tcl script because tcl costs a lot of time if you do not invest the full learning cycle, plus I have not everything avaible I need on Solaris. With C, I am quicker and I also can create a superior solution. So I finally switched. Took much less time than the initial tcl script...
| * solved some more issues with "make [dist]check"Rainer Gerhards2009-03-274-7/+4
| | | | | | | | especially when executed as non-root
| * fixed a couple of nits with "make [dist]check"Rainer Gerhards2009-03-275-5/+20
| |
| * added some missing files in tests Makefile.amRainer Gerhards2009-03-262-21/+14
| |
| * Merge branch 'master' into testsRainer Gerhards2009-03-2610-34/+253
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| * | initial parser testing suite addedRainer Gerhards2009-03-2610-6/+34
| | | | | | | | | | | | | | | | | | integrated tcl test script into autotools make check, created a few test cases based a real-world sample and samples from RFC3164 and 5424.
| * | parser test script createdRainer Gerhards2009-03-263-42/+78
| | | | | | | | | | | | | | | more or less complete now, with some minor nits left for later but is usable.
| * | some text scripts added (experimental)Rainer Gerhards2009-03-232-0/+51
| | |
| * | improved testing supportRainer Gerhards2009-03-198-6/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | ported non-tcl based test suite to SolarisRainer Gerhards2009-03-315-16/+94
| | |
* | | bugfix: fixed some segaults on SolarisRainer Gerhards2009-03-253-2/+3
| |/ |/| | | | | where vsprintf() does not check for NULL pointers
* | Merge branch 'dapatch'Rainer Gerhards2009-03-256-6/+102
|\ \
| * | bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-256-6/+102
| | | | | | | | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | | Merge branch 'omfile-errHandler'Rainer Gerhards2009-03-244-28/+69
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | omfile suspend handling for non-dynafiles, also bugfixesRainer Gerhards2009-03-192-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | primarily bugs introduced by recent changes. We now also handle static file names correctly, that was not the case before. We now correctly reset the descriptor in the dynafile cache if somthing goes wrong. Keep in mind that reliablity of output is depending on the reliability of the file system driver (the cifs driver returns OK, but still loses data if it is disconnected for too-long).
| * | | omfile bugfixingRainer Gerhards2009-03-184-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed a bug that caused action retries not to work correctly situation was only cleared by a restart - bugfix: closed dynafile was potentially never written until another dynafile name was generated - potential loss of messages
| * | | undid typoRainer Gerhards2009-03-171-1/+0
| | | |
| * | | fixed some message-loss situations when file write failures happenedRainer Gerhards2009-03-172-9/+4
| | | |
| * | | changed one more status settingRainer Gerhards2009-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | user feedback indicates it now looks like it is working ;) still some more work needed for a "good" solution
| * | | try to make file writer restartable (experimental, untested)Rainer Gerhards2009-03-111-4/+5
| | | |
* | | | added "rsyslog family tree" graph of rsyslog versions and branchesRainer Gerhards2009-03-231-0/+82
| |_|/ |/| |
* | | fixed broken make distcheck due to invalidly stated omtemplate fileRainer Gerhards2009-03-191-1/+1
| | |
* | | adapted test framework to new script engineRainer Gerhards2009-03-196-22/+46
| | |
* | | added output module templateRainer Gerhards2009-03-165-8/+260
| | | | | | | | | | | | | | | | | | | | | so far, this is mostly some documentation, but I hope that during the process of creating output modules out of it we will get good questions and thus can extend the template. In any case, it should be better than what we had so far...
* | | some more information on rainerscript imlementationRainer Gerhards2009-03-161-0/+2
| | | | | | | | | | | | (taken from old rscript branch, which is now obsolete)
* | | Merge branch 'master' into rscript-funcRainer Gerhards2009-03-1313-20/+55
|\| |
| * | Merge branch 'beta'Rainer Gerhards2009-03-1110-13/+43
| |\ \ | | | | | | | | | | | | | | | | Conflicts: doc/omrelp.html
| | * \ Merge branch 'v3-stable' into betaRainer Gerhards2009-03-1110-14/+44
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | | * | doc enhance: enhance ommysql documentationRainer Gerhards2009-03-062-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | provide standard template for MySQL module and instructions on how to modify schema
| | | * | doc typo fixRainer Gerhards2009-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | thanks to Trent W. Buck for alerting me.