more logging messages for db.