Use specific log routines in database/database-thread.c
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
b2f47ee846
commit
d057c1e9fc
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue