Added logging in stdout