thesis/listings/event_handler_main.py

16 lines
398 B
Python
Raw Normal View History

2018-12-02 15:02:56 +00:00
fsm = FSMManagingEventHandler( # TFW FSM
key='fsm',
fsm_type=TestFSM
)
ide = IdeEventHandler( # Web IDE backend
key='ide',
allowed_directories=[TFWENV.IDE_WD, TFWENV.WEBSERVICE_DIR],
directory=TFWENV.IDE_WD,
exclude=['*.pyc']
)
logmonitor = LogMonitoringEventHandler( # Sends live logs to frontend
2018-12-02 15:02:56 +00:00
key='logmonitor',
process_name='webservice',
log_tail=2000
)