Commit 647e954e authored by Ghighi Eftimie's avatar Ghighi Eftimie

fix admin view of error log

parent 594c8aad
......@@ -672,7 +672,7 @@ def view_logfile():
logfiles[0] = logger.get_logfile(config.config_logfile)
logfiles[1] = logger.get_accesslogfile(config.config_access_logfile)
return render_title_template("logviewer.html",title=_(u"Logfile viewer"), accesslog_enable=config.config_access_log,
logfiles=logfiles, page="logfile")
log_enable=True, logfiles=logfiles, page="logfile")
@admi.route("/ajax/log/<int:logtype>")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment