mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 02:22:55 +00:00 
			
		
		
		
	Configure loggging in pipe_io_main(), too
This commit is contained in:
		@@ -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(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user