diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-25 18:05:59 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-25 18:57:28 +0100 |
commit | e7e229fd66454a11317b2386948ff2055903e7ea (patch) | |
tree | 849604620f0f8f1f42de9dd09a49d7a3b34914ac /doc/sqlite3.txt | |
parent | ff196ff7ff31e7dc38260bd54d5e0e9e99bf3839 (diff) |
sqlite3: remove automatic creation of table `daily'
This patch removes the creation of the `daily' table. Now, we assume
that the table that we use are created before launching ulogd2.
This code is broken because you have to specify in the configuration
file that the table used is `daily', otherwise this `daily' table is
created and dropped during the daemon starting, but not used.
Moreover, the code explicit shows a message that it says:
/* FIXME make this configurable */
So, I think that this patch is the way to go :-).
This patch also documents the table creation in ulogd.sgml
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sqlite3.txt')
-rw-r--r-- | doc/sqlite3.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/sqlite3.txt b/doc/sqlite3.txt deleted file mode 100644 index 97e8bc9..0000000 --- a/doc/sqlite3.txt +++ /dev/null @@ -1,7 +0,0 @@ -XXX: This has to go in ulogd.sgml, later. - -To create the database file, you have to: -$ sqlite3 file.db < sqlite3.table - -To check that we are logging stuff into it correctly: -sqlite3 ulogd.sqlite3db "SELECT * from ulog" |