summaryrefslogtreecommitdiffstats
path: root/QA
diff options
context:
space:
mode:
Diffstat (limited to 'QA')
-rw-r--r--QA/Checker/checker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/QA/Checker/checker.cpp b/QA/Checker/checker.cpp
index 12237dc..1ec8892 100644
--- a/QA/Checker/checker.cpp
+++ b/QA/Checker/checker.cpp
@@ -19,6 +19,8 @@ int main(int argc, char* argv[]) {
bool verbose = false;
bool outputXML = false;
+ Swift::Log::setLogLevel(Swift::Log::error);
+
// Parse parameters
std::vector<std::string> testsToRun;
for (int i = 1; i < argc; ++i) {
@@ -30,7 +32,7 @@ int main(int argc, char* argv[]) {
outputXML = true;
}
else if (param == "--debug") {
- Swift::logging = true;
+ Swift::Log::setLogLevel(Swift::Log::debug);
}
else {
testsToRun.push_back(param);