[LNT] r312298 - This path is very long, and not useful
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 17:27:55 PDT 2017
Author: cmatthews
Date: Thu Aug 31 17:27:55 2017
New Revision: 312298
URL: http://llvm.org/viewvc/llvm-project?rev=312298&view=rev
Log:
This path is very long, and not useful
Replace with filename instead.
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=312298&r1=312297&r2=312298&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/app.py (original)
+++ lnt/trunk/lnt/server/ui/app.py Thu Aug 31 17:27:55 2017
@@ -268,7 +268,7 @@ class App(LNTExceptionLoggerFlask):
LOG_FILENAME, maxBytes=1048576, backupCount=5)
rotating.setFormatter(Formatter(
'%(asctime)s %(levelname)s: %(message)s '
- '[in %(pathname)s:%(lineno)d]'
+ '[in %(filename)s:%(lineno)d]'
))
rotating.setLevel(logging.DEBUG)
self.logger.addHandler(rotating)
More information about the llvm-commits
mailing list