mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 12:41:20 +00:00
Print python version upon start
This commit is contained in:
parent
9c97c0d7ed
commit
e08be83c5e
2
app.py
2
app.py
@ -1,4 +1,5 @@
|
||||
import logging
|
||||
import sys
|
||||
|
||||
import tornado
|
||||
import zmq
|
||||
@ -21,6 +22,7 @@ if __name__ == '__main__':
|
||||
)
|
||||
application.listen(WEB_PORT)
|
||||
logging.getLogger().setLevel(logging.DEBUG)
|
||||
logging.debug('Python version: {}'.format(sys.version[:5]))
|
||||
logging.debug('Tornado version: {}'.format(tornado.version))
|
||||
logging.debug('ZeroMQ version: {}'.format(zmq.zmq_version()))
|
||||
logging.debug('PyZMQ version: {}'.format(zmq.pyzmq_version()))
|
||||
|
Loading…
Reference in New Issue
Block a user