From d057c1e9fc17969af4aafa3f6503b60c8dc47686 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 27 May 2021 12:27:15 +0200 Subject: [PATCH] Use specific log routines in database/database-thread.c Signed-off-by: DL6ER --- src/database/database-thread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/database/database-thread.c b/src/database/database-thread.c index 73c182b2..76e900c8 100644 --- a/src/database/database-thread.c +++ b/src/database/database-thread.c @@ -41,8 +41,8 @@ static bool delete_old_queries_in_DB(sqlite3 *db) // Print final message only if there is a difference if((config.debug & DEBUG_DATABASE) || affected) - logg("Notice: Database size is %.2f MB, deleted %i rows", - 1e-6*get_FTL_db_filesize(), affected); + log_info("Size of %s is %.2f MB, deleted %i rows", + FTLfiles.FTL_db, 1e-6*get_FTL_db_filesize(), affected); return true; } @@ -165,6 +165,6 @@ void *DB_thread(void *val) thread_sleepms(DB, 1000); } - logg("Terminating database thread"); + log_info("Terminating database thread"); return NULL; }