chg: Change default logging of db_insert, and ssfetcher to INFO
parent
367f2f8421
commit
8f7bd6b33a
|
@ -11,7 +11,7 @@ logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||||
|
|
||||||
class DBInsertManager(AbstractManager):
|
class DBInsertManager(AbstractManager):
|
||||||
|
|
||||||
def __init__(self, loglevel: int=logging.DEBUG):
|
def __init__(self, loglevel: int=logging.INFO):
|
||||||
super().__init__(loglevel)
|
super().__init__(loglevel)
|
||||||
self.dbinsert = DatabaseInsert(loglevel)
|
self.dbinsert = DatabaseInsert(loglevel)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s:%(message)s',
|
||||||
|
|
||||||
class ShadowServerManager(AbstractManager):
|
class ShadowServerManager(AbstractManager):
|
||||||
|
|
||||||
def __init__(self, config_dir: Path=None, storage_directory: Path=None, loglevel: int=logging.DEBUG):
|
def __init__(self, config_dir: Path=None, storage_directory: Path=None, loglevel: int=logging.INFO):
|
||||||
super().__init__(loglevel)
|
super().__init__(loglevel)
|
||||||
self.config = True
|
self.config = True
|
||||||
if not config_dir:
|
if not config_dir:
|
||||||
|
|
Loading…
Reference in New Issue