remove trailing whitespace
log to module logger (instead of global one)
Merge pull request #11 from stefankoegl/logging

Log to module's logger (instead of global one).