Fixed bug #595: Nagios 4 security fix

Cleaned up some development debugging code and made another logging
statement that could leak information dependent on having DEBUG #defined.