mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Use specific log routines in database/database-thread.c
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user