remove the default logging use loguru (#2198)
This commit is contained in:
parent
696e620468
commit
4af08e0dc8
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import json
|
import json
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
@ -320,7 +319,7 @@ def load_flows_from_directory():
|
||||||
if not flows_path:
|
if not flows_path:
|
||||||
return
|
return
|
||||||
if not settings_service.auth_settings.AUTO_LOGIN:
|
if not settings_service.auth_settings.AUTO_LOGIN:
|
||||||
logging.warning("AUTO_LOGIN is disabled, not loading flows from directory")
|
logger.warning("AUTO_LOGIN is disabled, not loading flows from directory")
|
||||||
return
|
return
|
||||||
|
|
||||||
with session_scope() as session:
|
with session_scope() as session:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue