Commit f5cb2f6a authored by markus's avatar markus

Fix logging to console

parent da09729a
......@@ -8,7 +8,7 @@ import datetime
import logging
logging.basicConfig(filename='collector.log', format='%(asctime)s - %(name)s:%(levelname)s: %(message)s', level=logging.INFO)
logger = logging.getLogger(__name__)
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler())
import urllib.request
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment