new options
This commit is contained in:
2
app.py
2
app.py
@@ -101,7 +101,7 @@ def display_haproxy_stats():
|
|||||||
return render_template('statistics.html', stats=parsed_stats)
|
return render_template('statistics.html', stats=parsed_stats)
|
||||||
|
|
||||||
|
|
||||||
@app.route('/logs')
|
@app.route('/logs', endpoint='display_logs')
|
||||||
#@requires_auth
|
#@requires_auth
|
||||||
def display_haproxy_logs():
|
def display_haproxy_logs():
|
||||||
log_file_path = '/var/log/haproxy.log'
|
log_file_path = '/var/log/haproxy.log'
|
||||||
|
|||||||
Reference in New Issue
Block a user