39 Commits

Author SHA1 Message Date
Rainer Gerhards
e8fafeadb8 made ompgsql identify its version on load 2010-05-07 13:23:04 +02:00
Rainer Gerhards
c8ebe62337 Merge branch 'v4-beta' into beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imuxsock/imuxsock.c
	template.c
	tests/Makefile.am
	tests/parsertest.sh
2010-02-10 16:35:12 +01:00
Marc Schiffbauer
184d8cf6d2 improved PostgreSQL database create script, provided doc on PostgreSQL setup
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-02-08 14:20:15 +01:00
Rainer Gerhards
d3592db45b bugfix: ompgsql did not properly check the server connection in tryResume()
what could lead to rsyslog running in a thight loop.
Also did some code cleanup of previous patch.
2009-12-16 16:21:52 +01:00
Rainer Gerhards
42ff3e6bc1 made ompgsql behave correctly with older rsyslog core versions 2009-12-11 13:00:52 +01:00
Rainer Gerhards
c912598199 bugfix: ompgsql had problems with transaction support, what actually rendered it unsuable.
Thanks to forum user "horhe" for alerting me on this bug
and helping to debug/fix it!
2009-12-11 12:17:02 +01:00
Rainer Gerhards
b5f3387357 Merge branch 'omfile' into v5-devel
Note that this was NOT a trivial merge, and there may be
some issues. This needs to be seen when we continue developing.

Conflicts:
	runtime/msg.h
	runtime/obj.h
	runtime/queue.c
	runtime/srUtils.h
	runtime/stream.c
	runtime/stream.h
	runtime/wti.c
	tests/Makefile.am
	tools/omfile.c
	tools/syslogd.c
2009-06-16 13:59:09 +02:00
Rainer Gerhards
e3d9843c85 re-enabled pipe, tty and console in omfile
... by moving code to stream.c. Thanks to the new design, new cases are
not really needed, resulting in cleaner code.

I also did a cleanup of header file usage as a side-activity.
2009-06-12 11:47:00 +02:00
Rainer Gerhards
10bab38993 begin implementation of new transactional output module interface
code is not complete, error cases are not handled.
2009-04-27 15:40:54 +02:00
Rainer Gerhards
63d3982721 Merge branch 'v3-stable' into beta 2009-04-17 14:19:43 +02:00
Rainer Gerhards
53bff58625 Merge branch 'debian_lenny' into v3-stable 2009-04-17 14:19:22 +02:00
Rainer Gerhards
9ebbe7477c Merge branch 'v2-stable' into debian_lenny 2009-04-17 14:19:02 +02:00
Rainer Gerhards
e8c94fcd89 bugfix: ompgsql did not detect problems in sql command execution
this could cause loss of messages. The handling was correct if the
connection broke, but not if there was a problem with statement
execution. The most probable case for such a case would be invalid
sql inside the template, and this is now much easier to diagnose.
2009-04-17 14:18:39 +02:00
Michael Biebl
1448e2486e make all cflags and libs variables uppercase
pkg-config uses uppercase for its _CFLAGS and _LIBS variable names.
So we follow suit and convert all _cflags and _libs variables to
uppercase for more consistency.
2009-02-24 13:09:44 +01:00
Rainer Gerhards
197d980f5b Merge branch 'v2-stable' into debian_lenny 2008-12-18 13:42:56 +01:00
Rainer Gerhards
2f1c53dbfe Merge branch 'v2-stable' into v3-stable
Conflicts:

	ChangeLog
2008-11-18 12:32:21 +01:00
Ken
48319cd31f bugfix: removed memory leak in ompgsql
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-11-18 12:30:57 +01:00
Rainer Gerhards
3f6c73a8b7 added (internal) error codes to error messages
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
2008-06-27 12:52:45 +02:00
Michael Biebl
b6b53972e1 Remove .cvsignore files, add .gitignore.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-06-11 17:03:47 +02:00
Rainer Gerhards
d9b0c77d3e some more cleanup
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
2008-04-16 15:27:53 +02:00
Rainer Gerhards
d7f33053da made everything compile with the new runtime subdirectory 2008-04-16 08:42:00 +02:00
Rainer Gerhards
cdcc0e6710 removed a now-longer needed callback from the output module interface.
Results in reducing code complexity.
2008-03-22 10:30:40 +00:00
Rainer Gerhards
15e8b33eed fixed a few remaining logerror() calls - thanks to Michael Biebl for
pointing that out
2008-03-06 09:44:16 +00:00
Rainer Gerhards
28dcc746bd applied patch from Michael Biebl to clean up build system 2008-03-06 07:39:32 +00:00
Rainer Gerhards
bc7d8ccebb - changed module interface to support querying obj interface (stage work)
- changed module interface version, as the interface change is quite large
2008-03-04 10:27:45 +00:00
Rainer Gerhards
e27555c468 added --enable-mudflap ./configure option 2008-01-08 16:13:42 +00:00
Rainer Gerhards
fc761b9fdc applied Michael Biebl's patch to clean up the makefiles 2008-01-03 14:08:58 +00:00
Rainer Gerhards
8a77bc82ac removed single-threading support for sending TCP messages; caused
simplyfication of output module interface as well as core syslog
    processing.
2007-12-20 14:34:40 +00:00
Rainer Gerhards
26059b310e applied some more cleanup provided by Michael Biebl 2007-12-19 07:14:21 +00:00
Rainer Gerhards
cfda6f9df8 applied some more cleanup provided by Michael Biebl 2007-12-19 07:11:42 +00:00
Rainer Gerhards
6a80d9ee50 - begun to create input module interface and macros
- changed module interface to include function to query type
2007-12-14 14:41:09 +00:00
Rainer Gerhards
004229dda6 changed license to GPLv3 (for what is to become rsyslog v3) 2007-12-14 11:21:57 +00:00
Rainer Gerhards
6a06d81736 .cvsignore contained the wrong binary file names - copy error when it was
copied from ommysql
2007-12-14 10:43:29 +00:00
Rainer Gerhards
9bdf66fa49 small performance improvement 2007-12-04 13:08:20 +00:00
Rainer Gerhards
315145d043 some code cleanup 2007-12-03 11:35:09 +00:00
Rainer Gerhards
1919403329 removed no longer necessary function prototype definitions 2007-12-03 11:12:36 +00:00
Rainer Gerhards
3f31bf4366 added dependency for plugin interface definitions 2007-12-03 11:09:06 +00:00
Rainer Gerhards
f500fbf505 added sur5r's postgres sql output module (many thanks!) 2007-12-03 10:23:39 +00:00
Rainer Gerhards
f7e891bc9a adding sur5r's postgres module 2007-12-03 10:18:04 +00:00