logs on config are actually debug logs
move logger to app so we can use it everywhere