mirror of https://github.com/CIRCL/lookyloo
fix: remove datefmt from logging.basicConfig, it was a bad idea.
parent
5f41902fe6
commit
797de9ddb3
|
@ -14,7 +14,7 @@ from lookyloo.abstractmanager import AbstractManager
|
|||
from lookyloo.helpers import get_config, get_homedir, get_socket_path, get_captures_dir
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
class Archiver(AbstractManager):
|
||||
|
|
|
@ -24,7 +24,7 @@ from lookyloo.helpers import (splash_status, get_socket_path,
|
|||
from lookyloo.lookyloo import Lookyloo
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
class AsyncCapture(AbstractManager):
|
||||
|
|
|
@ -9,7 +9,7 @@ from lookyloo.lookyloo import Lookyloo
|
|||
from lookyloo.exceptions import NoValidHarFile, MissingUUID
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
class BackgroundIndexer(AbstractManager):
|
||||
|
|
|
@ -15,7 +15,7 @@ from lookyloo.helpers import (get_config, get_homedir, get_socket_path,
|
|||
safe_create_dir)
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
class Processing(AbstractManager):
|
||||
|
|
|
@ -7,7 +7,7 @@ import logging
|
|||
from lookyloo.lookyloo import Lookyloo, Indexing
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -9,7 +9,7 @@ from lookyloo.abstractmanager import AbstractManager
|
|||
from lookyloo.helpers import get_homedir, get_config
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
class Website(AbstractManager):
|
||||
|
|
|
@ -13,7 +13,7 @@ from pathlib import Path
|
|||
from lookyloo.helpers import get_homedir
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||
level=logging.INFO, datefmt='%I:%M:%S')
|
||||
level=logging.INFO)
|
||||
|
||||
|
||||
def compute_hash_self():
|
||||
|
|
Loading…
Reference in New Issue