2426 Commits

Author SHA1 Message Date
Rainer Gerhards
c6a2dafb2f doc: added info on when $OptimizeForUniprocessor was made available 2009-05-28 16:30:57 +02:00
Rainer Gerhards
ba6be8f307 Merge branch 'diag' 2009-05-28 15:19:25 +02:00
Rainer Gerhards
5514acb7ee fixed make distcheck 2009-05-28 15:19:03 +02:00
Rainer Gerhards
35ea061f62 Merge branch 'diag' 2009-05-27 11:37:10 +02:00
Rainer Gerhards
74ed599ea6 fixed typo 2009-05-27 11:36:54 +02:00
Rainer Gerhards
a900a7c34b greatly enhanced testbench
The imdiag module now can very effectively inject messages, which also
frees us from uncertainties of tcp reception and processing. All shell
script based tests have been modularized, what makes it far easier to
create new tests. Also, the test bench now executes more reliable and
much faster, because we can now rely on actual engine information where
we previously did just a dumb sleep.
2009-05-27 11:29:47 +02:00
Rainer Gerhards
78bc40e1af Merge branch 'diag' 2009-05-25 15:40:23 +02:00
Rainer Gerhards
ddf74cc165 added test suite for persistent queue shutdown 2009-05-25 15:39:18 +02:00
Rainer Gerhards
598b1d73ca updated project status 2009-05-25 14:48:38 +02:00
Rainer Gerhards
b954938027 solved some issues with testbench & a race condition 2009-05-25 14:16:31 +02:00
Rainer Gerhards
7a7ec37f99 improved testbench / solved imdiag race condition
imdiag/imtcp had a modload race condition (as imdiag is a testing aid,
this has no implications for production deployments). Also, I replaced
netcat by a custom program to talk to imdiag. This, for the first time ever,
is now a Java program. I plan to add some GUI troubleshooting tools and
thought it is a good idea to start doing things in Java that can simply
be done in that language.
2009-05-25 13:02:06 +02:00
Rainer Gerhards
aaef9aa018 preparing for 4.3.1 v4.3.1 2009-05-25 11:31:53 +02:00
Rainer Gerhards
eb1615068c added new testing module imdiag
which enables to talk to the rsyslog core at runtime. The current
implementation is only a beginning, but can be expanded over time
2009-05-25 10:47:22 +02:00
Rainer Gerhards
7adb9877f0 fixing some nits with the build system 2009-05-22 17:40:24 +02:00
Rainer Gerhards
aba90e8248 added capability to run multiple tcp listeners (on different ports)
Well, actually this and a lot of related things. I improved the
testbench so that the new capabilities are automatically tested and
also did some general cleanup. The current multiple tcp listener
solution will probably receive some further cleanup, too, but looks
quite OK so far. I also reviewed the way tcpsrv et all work, in
preparation of using this code for imdiag. I need to document the
findings, especially as the code is rather complicated "thanks" to
the combination of plain tcp and gssapi transport modes.
2009-05-22 17:06:52 +02:00
Rainer Gerhards
2aca3c2d33 made imdiag *just* compile & some cleanup
imdiag was never finished (not even really begun), but now I need it.
I made the few things that are available compile, but more serious
work is required.
2009-05-20 17:35:21 +02:00
Rainer Gerhards
55714cdb44 updated ChangeLog with Michael Biebl's changes 2009-05-19 09:17:13 +02:00
Michael Biebl
4f691b1e1d Cleanup configure.ac a little for better readability
- 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>
2009-05-19 07:31:23 +02:00
Michael Biebl
541d7ad940 Improve ./configure output
Improve readability of the ./configure output by grouping relevant entries and
indenting them.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-05-19 07:31:22 +02:00
Michael Biebl
67974ecd5d Rename want_gssapi_krb5 to enable_gssapi_krb5
Be consistent and rename the configure variable want_gssapi_krb5 to
enable_gssapi_krb5.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-05-19 07:31:22 +02:00
Michael Biebl
460edfe27f Do not fail "make check" if omstdout is not enabled
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>
2009-05-19 07:31:22 +02:00
Michael Biebl
5ab3e8005f Fix compiler warnings
include <string.h> for memcpy and strlen.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-05-19 07:31:22 +02:00
Michael Biebl
735a02c656 Cleanup and typo fixes
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-05-19 07:31:22 +02:00
Michael Biebl
81875845e6 Add autogen.sh
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>
2009-05-19 07:31:21 +02:00
Michael Biebl
1bbd2b07f8 Add shave support
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>
2009-05-19 07:31:21 +02:00
Rainer Gerhards
d1985c4a65 doc: given some concrete advise on the common %hostname% content problem 2009-05-11 22:00:48 +02:00
Rainer Gerhards
8e430258fd added capability to draw configuration graphs
- 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)
2009-05-11 17:38:33 +02:00
Luis Fernando Muñoz Mejías
9823c73d1d Make it recover from errors on insertions.
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.
2009-04-29 17:10:19 +02:00
Luis Fernando Muñoz Mejías
c35ce31aed Replace get_db_statement by a template.
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).
2009-04-29 17:10:00 +02:00
Luis Fernando Muñoz Mejías
65a69831e9 Add the $OmoracleBatchItemSize directive
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.
2009-04-29 17:09:20 +02:00
Luis Fernando Muñoz Mejías
e65a30ddaa Add licensing information.
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.
2009-04-29 17:08:37 +02:00
Rainer Gerhards
42c3dcfc1c performance enhancement: imtcp calls parser no longer on input thread
but rather inside on of the potentially many main msg queue worker
threads (an enhancement scheduled for all input plugins where this is
possible)
2009-04-23 13:39:11 +02:00
Rainer Gerhards
925a5e3471 Merge branch 'beta'
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2009-04-23 11:48:47 +02:00
Rainer Gerhards
f8d9aad082 bugfix: compile problems in im3195 2009-04-23 11:45:50 +02:00
Rainer Gerhards
b38a2208f4 Merge branch 'v3-stable' into beta
Conflicts:
	ChangeLog
	runtime/queue.c
2009-04-23 11:43:12 +02:00
Rainer Gerhards
2e51c75938 bugfix: light and full delay watermarks had invalid values
... badly affecting performance for delayable inputs (but not causeing
any other issues)
2009-04-23 11:33:40 +02:00
Rainer Gerhards
251e48a34c preparing for 4.1.7 v4.1.7 2009-04-22 08:52:13 +02:00
Rainer Gerhards
029218df5b another typo fix... 2009-04-22 08:38:25 +02:00
Rainer Gerhards
1f08d919fd typo fix (important typo) 2009-04-21 17:32:51 +02:00
Rainer Gerhards
8f1fc598c7 doc status update & typo fixes 2009-04-21 17:01:29 +02:00
Rainer Gerhards
9e99fa5812 Merge branch 'nextmaster' 2009-04-21 16:55:09 +02:00
Rainer Gerhards
88caccecf8 Merge branch 'master' into beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2009-04-21 16:54:05 +02:00
Rainer Gerhards
6e410a76f6 preparing for 3.22.0 (move to stable) v3.22.0 2009-04-21 16:49:46 +02:00
Rainer Gerhards
aa43d7f831 doc: added (hopefully) easier to grasp queue explanation 2009-04-21 16:32:33 +02:00
Rainer Gerhards
1fb5cee04d improved testbench - added tests for queue disk-only mode 2009-04-17 17:53:33 +02:00
Rainer Gerhards
889a0a1da8 some cleanup
... mostly removal of compile-time warnings (thanks to Michael
Biebl for suggesting to look after that)
2009-04-17 15:19:57 +02:00
Rainer Gerhards
09ca443377 update project status & cleanup
removed some warning in imklog compilation, but may not have
solved a lurking issue (but placed comment so that we know if
something surfaces)
2009-04-17 15:10:06 +02:00
Rainer Gerhards
dc777849fc bugfix: missing header (platform compatibility issue) v4.3.0 2009-04-17 14:37:41 +02:00
Rainer Gerhards
9348f8b9c2 preparing for 4.3.0 release 2009-04-17 14:33:14 +02:00
Rainer Gerhards
3f6c6cff47 Merge branch 'master' into nextmaster 2009-04-17 14:21:52 +02:00