fix logger block