[LNT] r312301 - Fix log page crash
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 17:52:52 PDT 2017
Author: cmatthews
Date: Thu Aug 31 17:52:52 2017
New Revision: 312301
URL: http://llvm.org/viewvc/llvm-project?rev=312301&view=rev
Log:
Fix log page crash
This needs to be defined for the custom logging file to work.
Modified:
lnt/trunk/lnt/server/ui/app.py
Modified: lnt/trunk/lnt/server/ui/app.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/app.py?rev=312301&r1=312300&r2=312301&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/app.py (original)
+++ lnt/trunk/lnt/server/ui/app.py Thu Aug 31 17:52:52 2017
@@ -281,7 +281,8 @@ class App(LNTExceptionLoggerFlask):
else:
self.logger.info("Started file logging.")
print "Logging to :", LOG_FILENAME
-
+ else:
+ self.config['log_file_name'] = log_file_name
def create_jinja_environment(env=None):
"""
More information about the llvm-commits
mailing list