Use specific log routines in database/database-thread.c

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2021-05-27 12:27:15 +02:00
parent b2f47ee846
commit d057c1e9fc
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
1 changed files with 3 additions and 3 deletions

View File

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