From 119e4424924fc8a047e26cc01031065836109ce1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 29 Aug 2015 13:16:52 +0100 Subject: More logging updates. --- src/libstat/learn_cache/sqlite3_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstat/learn_cache') 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); -- cgit v1.2.3