fix admin view of error log
This commit is contained in:
parent
594c8aad91
commit
647e954e8a
@ -672,7 +672,7 @@ def view_logfile():
|
|||||||
logfiles[0] = logger.get_logfile(config.config_logfile)
|
logfiles[0] = logger.get_logfile(config.config_logfile)
|
||||||
logfiles[1] = logger.get_accesslogfile(config.config_access_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,
|
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>")
|
@admi.route("/ajax/log/<int:logtype>")
|
||||||
|
Loading…
Reference in New Issue
Block a user