Added mongo logging inside the application