use logging
core: fix #20
logging: remove old logs on every import (__init__.py)
logging: set main logger default level flag to WARNING
move logging code from __init__ to log
Merge branch 'logging'