Adding a logger into mongo tracking