| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- 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"
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
new tests added, now much better
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| | |
Now have removed the previous method, as really nobody should call
it any longer (and now nobody does ;)). Also did some other cleanup.
|
| |
| |
| |
| |
| |
| | |
- abided to code conventions
- fixed a potential segfault when regex library can not
be loaded
|
| |
| |
| |
| | |
Thanks to Arnaud Cornet for providing the idea and initial patch.
|
|/ |
|
|
|
|
|
|
|
|
| |
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 ;)).
|
| |
|
|
|
|
|
| |
to enable simple creation of CSV-formatted outputs (format
from RFC4180 is used)
|
|\ |
|
| |
| |
| |
| |
| | |
interestingly, they manifested on Debian, only, but potentially
existed on other platforms, too.
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
tests/Makefile.am
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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...
|
| |
| |
| |
| | |
especially when executed as non-root
|
| | |
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | |
| | |
| | |
| | |
| | |
| | | |
integrated tcl test script into autotools make check, created
a few test cases based a real-world sample and samples from
RFC3164 and 5424.
|
| | |
| | |
| | |
| | |
| | | |
more or less complete now, with some minor nits left for later
but is usable.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
|
| |/
|/|
| |
| | |
where vsprintf() does not check for NULL pointers
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|