cleanup logging and show logs in interactive mode

see issue #413 for more info
Merge pull request #414 from RDFLib/cleanup_logging

cleanup logging and show logs in interactive mode closes #413