Rewrite Config and add Logger