Add debug logging for content providers

Refs #1367