mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-15 03:47:17 +00:00
Import the logging module directly
This commit is contained in:
parent
0104a209bf
commit
8b04bc0477
@ -1,3 +1,4 @@
|
|||||||
|
import logging
|
||||||
from ast import literal_eval
|
from ast import literal_eval
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from signal import signal, SIGTERM, SIGINT
|
from signal import signal, SIGTERM, SIGINT
|
||||||
@ -12,10 +13,10 @@ from tfw.components import TerminalCommands, LogMonitoringEventHandler
|
|||||||
from tfw.components import FSMManagingEventHandler, DirectorySnapshottingEventHandler
|
from tfw.components import FSMManagingEventHandler, DirectorySnapshottingEventHandler
|
||||||
from tfw.components import FrontendEventHandler, MessageSender
|
from tfw.components import FrontendEventHandler, MessageSender
|
||||||
from tfw.config import TFWENV
|
from tfw.config import TFWENV
|
||||||
from tfw.config.logs import logging
|
|
||||||
from tao.config import TAOENV
|
from tao.config import TAOENV
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
|
|
||||||
|
|
||||||
def cenator(history):
|
def cenator(history):
|
||||||
|
Loading…
Reference in New Issue
Block a user