summaryrefslogtreecommitdiffstats
path: root/plugins/ommysql
Commit message (Collapse)AuthorAgeFilesLines
* re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-1/+1
| | | | | | | ... 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.
* Improve mysql configure check (for unusual paths)Michael Biebl2009-02-241-2/+1
| | | | | | | | | | | Remove AC_CHECK_HEADERS([mysql/mysql.h],...) as this was causing pain for users where the mysql headers are not installed in the system include directory. It was superfluous anyways, as we check for mysql_config and set the include path to the correct directory. Update ommysql.c to use #include <mysql.h>, as mysql_config will set the include path to /path/to/include/mysql/ so <mysql/mysql.h> would not work. Remove errmsg.h include as it is not used.
* make all cflags and libs variables uppercaseMichael Biebl2009-02-241-2/+2
| | | | | | 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.
* Merge branch 'v3-stable' into betaRainer Gerhards2008-08-131-3/+21
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| * enhanced ommysql to support custom port to connect to serverRainer Gerhards2008-08-121-3/+21
| | | | | | | | | | | | Port can be set via new $ActionOmmysqlServerPort config directive Note: this was a very minor change and thus deemed appropriate to be done in the stable release.
* | added (internal) error codes to error messagesRainer Gerhards2008-06-271-4/+4
| | | | | | | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* | Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-111-6/+0
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | | | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* | moved files to the runtimeRainer Gerhards2008-04-161-1/+1
| | | | | | | | | | | | there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.
* | made everything compile with the new runtime subdirectoryRainer Gerhards2008-04-161-1/+1
|/
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-5/+0
| | | | Results in reducing code complexity.
* fixed a few remaining logerror() calls - thanks to Michael Biebl forRainer Gerhards2008-03-061-4/+7
| | | | pointing that out
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+2
|
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* created an initial version of omlibdbi (does not yet work)Rainer Gerhards2008-02-141-3/+1
|
* - changed the ommysql output plugin so that the (lengthy) connectionRainer Gerhards2008-01-301-9/+14
| | | | | | | initialization now takes place in message processing. This works much better with the new queued action mode (fast startup) - fixed a newly introduced bug that caused output module's doAction entry point to be called on more than one thread under some circumstances
* added --enable-mudflap ./configure optionRainer Gerhards2008-01-081-2/+2
|
* applied Michael Biebl's patch to clean up the makefilesRainer Gerhards2008-01-031-2/+2
|
* removed single-threading support for sending TCP messages; causedRainer Gerhards2007-12-201-10/+0
| | | | | simplyfication of output module interface as well as core syslog processing.
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-2/+2
|
* - begun to create input module interface and macrosRainer Gerhards2007-12-141-0/+2
| | | | - changed module interface to include function to query type
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-142-14/+16
|
* fixed an off-by-one bug that created problems when :ommysql: syntax wasRainer Gerhards2007-12-041-1/+1
| | | | used. Thanks to sur5r for pointing this out.
* some code cleanupRainer Gerhards2007-12-032-2/+0
|
* removed no longer necessary function prototype definitionsRainer Gerhards2007-12-031-6/+0
|
* added compile-time switches for -pthreadRainer Gerhards2007-11-301-1/+1
|
* added .cvsignore files as suggested by Michael BieblRainer Gerhards2007-11-301-0/+6
|
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-212-1/+6
|
* added some debug message to ommysqlRainer Gerhards2007-11-191-0/+1
|
* changed ommsyql to allow for ":ommysql:" module specific action call methodRainer Gerhards2007-10-151-3/+13
| | | | instead of ">". This shall facilitate the creation of other plugins.
* - changed the build system to use a single source tarball again (butRainer Gerhards2007-10-113-53/+5
| | | | | | | | | | | | | | | | different makefiles for the main project and ommysql) - applied fixes from Michael Biebl: 1.) fix failing compilation of ommysql plugin (s/ommysql-config.h/config.h/) 2.) fix mysql configure check (although the default is no, we did check for the mysql devel files) 3.) Create a separate Makefile.am for the doc files. This cleans up the toplevel Makefile.am considerably and makes it much more readable and maintainable. 3b) Assign the html doc files to html_DATA. This means, they are installed to $(hmtdir), which by autoconf standards is $(prefix)/share/doc/$packagename/. 4.) Reformat the SOURCES line to make it better readable and maintainable.
* applied patch provided by varmojfekoj to support building ommysql in itsRainer Gerhards2007-09-266-0/+475
own way (now also resides in a plugin subdirectory)