move logs to folder

This commit is contained in:
aronwk-aaron
2022-12-16 22:50:43 -06:00
parent 5e59d3b43c
commit 24fc6a0826
4 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ def command():
@log_blueprint.route('/system')
@gm_level(8)
def system():
with open('nexus_dashboard.log', 'r') as file:
with open('logs/nexus_dashboard.log', 'r') as file:
logs = '</br>'.join(file.read().split('\n')[-100:])
return render_template('logs/system.html.j2', logs=logs)