From aa2b86681d361600cc1ee206208d24f6ddcfd895 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 26 Jun 2012 02:00:17 -0700 Subject: [PATCH] Raise log level before running unit tests. --- src/main.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8ec61c211a..faa4c208f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,15 +1,16 @@ -#include "Application.h" -#include "CallRPC.h" -#include "Config.h" -#include "utils.h" - #include #include #include #include +#include "Application.h" +#include "CallRPC.h" +#include "Config.h" +#include "utils.h" +#include "Log.h" + namespace po = boost::program_options; extern bool AddSystemEntropy(); @@ -111,6 +112,7 @@ int main(int argc, char* argv[]) } else if (argc >= 2 && !strcmp(argv[1], "--test")) { bTest = true; + Log::setMinSeverity(lsTRACE); } else {