Switched registry to our logging variable.
Merge pull request #37 from jivid/logging_bug

Switched registry to our logging variable.