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; }