Commit fdea42b6 authored by markus's avatar markus

Use same log format for console and file

parent 9df0df8d
......@@ -9,7 +9,11 @@ import logging
logging.basicConfig(filename='collector.log', format='%(asctime)s - %(name)s:%(levelname)s: %(message)s', level=logging.INFO)
logger = logging.getLogger()
log_formatter = logging.Formatter('%(asctime)s - %(name)s:%(levelname)s: %(message)s')
stream_handler = logging.StreamHandler()
import urllib.request
import satnogs_query
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