summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a SELinux policy that allows the module to load on RHEL5.Luis Fernando Muñoz Mejías2009-04-011-0/+13
|
* Make tryResume not to retry the last action, but just to reconnect.Luis Fernando Muñoz Mejías2009-04-011-4/+1
| | | | | The core will call the action if tryResume succeeds, no need to make it from here.
* added some (hopefully helpful) comments on the calling IFRainer Gerhards2009-03-251-0/+27
|
* Remove useless dbgprintf and add documentation.Luis Fernando Muñoz Mejías2009-03-251-2/+10
|
* Add proper indentation (despite Emacs) and support for retrying.Luis Fernando Muñoz Mejías2009-03-251-78/+90
| | | | | | | | | | Emacs doesn't allow for proper indentation with rsyslog's macros (no curly brackets, so it doesn't know where functions start), so I had to manually add such indentation. Add support for retrying actions, namely, disconnect from the DB, re-connecting and re-executing the last prepared statement. Needs to be tested.
* Add the ability to actually run statements.Luis Fernando Muñoz Mejías2009-03-251-17/+25
| | | | | | | | | | | | | | It now runs SQL statements given as templates. In this case, the template is given on the configuration file and the core passes the SQL statement correctly formatted to doAction. I still need to decide how to structure this for having prepared statements (prepare them at parseSelector time) and then make doAction to only bind arguments and execute. It commits after each statement, which is awfully slow but good enough for the moment. Next step after that is have a buffer of arguments, and make doAction store new data as it arrives, then run the statement only when the buffer is almost full. Or something like that.
* Add the ability to connect to the DB based on the config line.Luis Fernando Muñoz Mejías2009-03-251-14/+44
| | | | | | It will read and parse the config line (this code is not yet rock-solid) and connect to the database at initialization time. I also cleaned some debug messages that are not needed anymore.
* Add handlers on modInit.Luis Fernando Muñoz Mejías2009-03-251-9/+69
| | | | This avoids crashes on initialization.
* Add all other blocks (macros) needed to make this module work.Luis Fernando Muñoz Mejías2009-03-251-13/+48
| | | | | | | At this stage they are all empty, but at least it should be possible to instantiate the module and perform some basic tests. Fix some compilation warnings
* Include omoracle in the build system.Luis Fernando Muñoz Mejías2009-03-253-3/+42
| | | | | Add configure option to build the oracle support, named --enable-oracle and fix the Makefile.am accordingly.
* Start the output module for Oracle.Luis Fernando Muñoz Mejías2009-03-253-0/+170
| | | | | Currently, resources are allocated, freed and the code compiles. No tests yet.
* 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.
| | | * | fixed a potential segfault problem in gssapi codevarmojfekoj2009-03-022-1/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | | * | updated changelog to reflect patch appliedRainer Gerhards2009-02-241-0/+4
| | | | |
| | | * | Call PKG_PROG_PKG_CONFIG m4 macro unconditionally.Michael Biebl2009-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As all the calls to PKG_CHECK_MODULES are conditional, it can happen that PKG_PROG_PKG_CONFIG is not called (i.e. if you not use --enable-relp). So we enforce a check for pkg-config by adding it to the global checks.
| | | * | doc fix: don't use absolute paths for $ModLoadMichael Biebl2009-02-242-3/+3
| | | | |
| | | * | changed TLS link on manual homepage to native TLS docRainer Gerhards2009-02-101-1/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | ... pointed previously to stunnel-alternative, which now that we support native TLS is now no longer recommended. Thanks to Michael Biebl for bringing this to my attention.
| | | * preparing for 3.20.4v3.20.4Rainer Gerhards2009-02-092-2/+2
| | | |
| | | * doc bugfix: dist tarball missed 2 files, had one extra file that no longer ↵Rainer Gerhards2009-02-092-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | belongs into it. Thanks to Michael Biebl for pointing this out.
| | | * bugfix: invalid ./configure settings for RFC3195Michael Biebl2009-02-062-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | | * docfix: copy&paste errorRainer Gerhards2009-02-031-2/+2
| | | |
| * | | updated project status, versionRainer Gerhards2009-03-112-3/+5
| | | |
| * | | preparing for 4.1.5 releasev4.1.5Rainer Gerhards2009-03-112-2/+2
| | | |
| * | | bugfix: parser did not correctly parse fields in UDP-received messagesRainer Gerhards2009-03-103-2/+5
| | | |
* | | | bugfix: removed (newly introduced) memory leaksRainer Gerhards2009-03-132-6/+3
| | | |
* | | | better readability for compiled VMPrg outputRainer Gerhards2009-03-122-24/+29
| | | |
* | | | initial implementation of RainerScript functions & strlen()Rainer Gerhards2009-03-108-10/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - implemented function support in RainerScript. That means the engine parses and compile functions, as well as executes a few build-in ones. Dynamic loading and registration of functions is not yet supported - but we now have a good foundation to do that later on. NOTE: nested function calls are not yet supported due to a design issue with the function call VM instruction set design. - implemented the strlen() RainerScript function
* | | | fixed a platform issue the prevented building on solarisRainer Gerhards2009-03-061-0/+5
| | | |
* | | | integrated various patches for solarisRainer Gerhards2009-03-0515-292/+335
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | fixed newly introduced memory leakRainer Gerhards2009-03-041-1/+4
| | | | | | | | | | | | (bug created 30 minutes ago or so)
* | | some optimization on regex codeRainer Gerhards2009-03-041-26/+1
| | | | | | | | | | | | also some commented-out leftover removed
* | | added ERE support in filter conditionsRainer Gerhards2009-03-047-14/+54
| | | | | | | | | | | | new comparison operation "ereregex"