From 436e1de82046188344ce73d8209941ca2569db2e Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 16 Oct 2020 12:36:03 +0200 Subject: [PATCH] [libcalamares] Be more chatty in GeoIP test application --- src/libcalamares/geoip/test_geoip.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libcalamares/geoip/test_geoip.cpp b/src/libcalamares/geoip/test_geoip.cpp index 0c475b9c0..fd50cecff 100644 --- a/src/libcalamares/geoip/test_geoip.cpp +++ b/src/libcalamares/geoip/test_geoip.cpp @@ -11,7 +11,6 @@ * This is a test-application that does one GeoIP parse. */ -#include #include "GeoIPFixed.h" #include "GeoIPJSON.h" @@ -19,6 +18,10 @@ #include "GeoIPXML.h" #endif +#include "utils/Logger.h" + +#include + using std::cerr; using namespace CalamaresUtils::GeoIP; @@ -34,6 +37,9 @@ main( int argc, char** argv ) QString format( argv[ 1 ] ); QString selector = argc == 3 ? QString( argv[ 2 ] ) : QString(); + Logger::setupLogLevel(Logger::LOGVERBOSE); + cDebug() << "Doing GeoIP interpretation with format=" << format << "selector=" << selector; + Interface* handler = nullptr; if ( QStringLiteral( "json" ) == format ) {