Moved logger into init file.