Fix logs format.
Fix logging level selection.
Merge pull request #17 from d2rk/cleanup_logging

Cleanup logging