Correct debug log management
Merge pull request #4 from Cbsoftware/debug-mode

Correct debug log management