mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-15 03:57:18 +00:00
Configure loggging in pipe_io_main(), too
This commit is contained in:
parent
8b04bc0477
commit
6b14cd0cae
@ -1,3 +1,4 @@
|
|||||||
|
import logging
|
||||||
from signal import signal, SIGTERM, SIGINT
|
from signal import signal, SIGTERM, SIGINT
|
||||||
|
|
||||||
from tornado.ioloop import IOLoop
|
from tornado.ioloop import IOLoop
|
||||||
@ -5,6 +6,8 @@ from tornado.ioloop import IOLoop
|
|||||||
from tfw.event_handlers import EventHandlerBase
|
from tfw.event_handlers import EventHandlerBase
|
||||||
from tfw.components import PipeIOEventHandler
|
from tfw.components import PipeIOEventHandler
|
||||||
|
|
||||||
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
pipe_io = PipeIOEventHandler(
|
pipe_io = PipeIOEventHandler(
|
||||||
|
Loading…
Reference in New Issue
Block a user