| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The core will call the action if tryResume succeeds, no need to make
it from here.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This avoids crashes on initialization.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Add configure option to build the oracle support, named
--enable-oracle and fix the Makefile.am accordingly.
|
|
|
|
|
| |
Currently, resources are allocated, freed and the code compiles. No
tests yet.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
user feedback indicates it now looks like it is working ;)
still some more work needed for a "good" solution
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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...
|
| | |
| | |
| | |
| | | |
(taken from old rscript branch, which is now obsolete)
|
|\| | |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
doc/omrelp.html
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
provide standard template for MySQL module and instructions
on how to modify schema
|
| | | | |
| | | | |
| | | | |
| | | | | |
thanks to Trent W. Buck for alerting me.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
... 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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
belongs into it.
Thanks to Michael Biebl for pointing this out.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
(bug created 30 minutes ago or so)
|
| | |
| | |
| | |
| | | |
also some commented-out leftover removed
|
| | |
| | |
| | |
| | | |
new comparison operation "ereregex"
|