Closed billzhuang closed 9 years ago
from werkzeug.contrib.profiler import ProfilerMiddleware app = Flask(__name__) app.config['PROFILE'] = True app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[30])
发现并没有输出trace哎,哪儿有问题么?
ProfilerMiddleware应该是将日志写到stderr了,sae默认stderr会写到日志中心,详细见:http://sae.sina.com.cn/doc/python/runtime.html#id4
发现并没有输出trace哎,哪儿有问题么?