Added more logging in content provider.