PRD-4921 - Limit logging if not in debug mode.
Merge pull request #316 from tmorgner/master

PRD-4921 - Limit logging if not in debug mode.