remove duplicate logging from db.php, now happens in entrypoints