Remove infinite loop in logging
Merge pull request #6 from gilt/bugfix/logging_cleanup

Remove infinite loop in logging