aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/learn_cache
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-29 13:16:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-29 13:16:52 +0100
commit119e4424924fc8a047e26cc01031065836109ce1 (patch)
treee8beb73f99f7a68e46170b04e631123ef4156842 /src/libstat/learn_cache
parentc34210bf492cb7621da2b1c287799aa35b37515c (diff)
downloadrspamd-119e4424924fc8a047e26cc01031065836109ce1.tar.gz
rspamd-119e4424924fc8a047e26cc01031065836109ce1.zip
More logging updates.
Diffstat (limited to 'src/libstat/learn_cache')
-rw-r--r--src/libstat/learn_cache/sqlite3_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/learn_cache/sqlite3_cache.c b/src/libstat/learn_cache/sqlite3_cache.c
index ebfb5510c..0b2aa5ed8 100644
--- a/src/libstat/learn_cache/sqlite3_cache.c
+++ b/src/libstat/learn_cache/sqlite3_cache.c
@@ -167,7 +167,7 @@ rspamd_stat_cache_sqlite3_init(struct rspamd_stat_ctx *ctx,
sqlite = rspamd_sqlite3_open_or_create (dbpath, create_tables_sql, &err);
if (sqlite == NULL) {
- msg_err ("cannot open sqlite3 cache: %e", err);
+ msg_err_config ("cannot open sqlite3 cache: %e", err);
g_error_free (err);
err = NULL;
}
@@ -178,7 +178,7 @@ rspamd_stat_cache_sqlite3_init(struct rspamd_stat_ctx *ctx,
RSPAMD_STAT_CACHE_MAX, &err);
if (new->prstmt == NULL) {
- msg_err ("cannot open sqlite3 cache: %e", err);
+ msg_err_config ("cannot open sqlite3 cache: %e", err);
g_error_free (err);
err = NULL;
sqlite3_close (sqlite);