fix logger bug redesign db.base