[LNT] r348878 - Logging should be info level if we are verbose
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 10:47:45 PST 2018
Author: cmatthews
Date: Tue Dec 11 10:47:45 2018
New Revision: 348878
URL: http://llvm.org/viewvc/llvm-project?rev=348878&view=rev
Log:
Logging should be info level if we are verbose
Modified:
lnt/trunk/lnt/lnttool/import_data.py
Modified: lnt/trunk/lnt/lnttool/import_data.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/import_data.py?rev=348878&r1=348877&r2=348878&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/import_data.py (original)
+++ lnt/trunk/lnt/lnttool/import_data.py Tue Dec 11 10:47:45 2018
@@ -33,7 +33,7 @@ def action_import(instance_path, files,
import logging
from .common import init_logger
- init_logger(logging.INFO if show_sql else logging.WARNING,
+ init_logger(logging.INFO if verbose or show_sql else logging.WARNING,
show_sql=show_sql)
# Load the LNT instance.
More information about the llvm-commits
mailing list