Add some logging statement in places of interest.