Hello,
I've found this project while I was looking for a
syslogd daemon with a SQLite support. None seems to
support this, but sysklogd-sql was very close to what I
need.
This patch adds/changes the following features :
* move all database logic in separate file (dba.c)
* add an database abstraction layer (database backend
driver is selected with #defines in Makefile).
* (re)write the following database drivers :
-- Mysql
-- PostgreSQL
-- SQLite
Other database driver should be easy to add.
FILE UPDATED:
* Makefile
* syslog.conf
* syslogd.c
FILES ADDED:
* README.SQLITE
* dba.c
* dba.h
* sqlite_logger.sql
TODO:
* testings (!)
* testings
* testings...
Hope you will find it useful; feel free to drop me a
mail for any comment / concern.
Best regards,
Bruno
the patch