Add Logger setting
refactor