Import new logger

This commit is contained in:
R. Richard 2019-06-18 18:51:05 +02:00
parent 9946114186
commit 096bba8367
2 changed files with 6 additions and 2 deletions

View File

@ -14,9 +14,9 @@ from tfw.components import FSMManagingEventHandler, DirectorySnapshottingEventHa
from tfw.components import FrontendEventHandler, MessageSender
from tfw.config import TFWENV
from tao.config import TAOENV
from tfw.config.log import TFWLog
LOG = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
class TerminalCallbackEventHandler(EventHandlerBase):
@ -115,7 +115,8 @@ class MessageFSMStepsEventHandler(FSMAwareEventHandler):
def main():
# pylint: disable=unused-variable
#
TFWLog().start()
# TFW component EventHandlers (builtins, required for their respective functionalities)
fsm = FSMManagingEventHandler( # TFW FSM
key='fsm',

View File

@ -2,3 +2,6 @@
user=root
directory=%(ENV_TFW_EHMAIN_DIR)s
command=python3 event_handler_main.py
[supervisord]
strip_ansi=false