12 lines
258 B
Python
12 lines
258 B
Python
|
import logging
|
||
|
|
||
|
from app import app
|
||
|
|
||
|
import index
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
FORMAT = '%(asctime)-15s - %(levelname)s - %(pathname)s - %(funcName)s - %(message)s'
|
||
|
logging.basicConfig(format=FORMAT, level=logging.DEBUG)
|
||
|
|
||
|
app.run(port=5002, debug=True)
|