fix logger setting