You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
312 B

#-*- coding=utf-8 -*-
from base_view import *
@admin.route('/logs',methods=["POST","GET"])
def logs():
logname=request.args.get('logname','running')
command='{}_log'.format(logname)
resp=MakeResponse(render_template('admin/logs.html',command=command,logname=logname))
return resp