Change logger setup format
Add logger config to config object