add Logger setting to code