From b767b485679707edfffee758b87571fc8cd983bb Mon Sep 17 00:00:00 2001 From: David Freese Date: Thu, 4 Dec 2014 06:54:47 -0600 Subject: [PATCH] LOG lookup * Changed debug level to VERBOSE; easier to see response without DEBUG clutter --- src/logbook/lookupcall.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/logbook/lookupcall.cxx b/src/logbook/lookupcall.cxx index 6bc7bbc8..28c9f985 100644 --- a/src/logbook/lookupcall.cxx +++ b/src/logbook/lookupcall.cxx @@ -124,11 +124,11 @@ QRZ *qCall = 0; void print_query(const string &name, const string &s) { - LOG_DEBUG("%s query:\n%s\n", name.c_str(), s.c_str()); + LOG_VERBOSE("%s query:\n%s\n", name.c_str(), s.c_str()); } void print_data(const string &name, const string &s) { - LOG_DEBUG("%s data:\n%s\n", name.c_str(), s.c_str()); + LOG_VERBOSE("%s data:\n%s\n", name.c_str(), s.c_str()); } void clear_Lookup() @@ -359,7 +359,7 @@ bool QRZGetXML(string& xmlpage) print_query("QRZ data", detail); bool res = request_reply(qrzhost, "http", detail, xmlpage, 5.0); - LOG_DEBUG("result = %d", res); + LOG_VERBOSE("result = %d", res); return res; } @@ -543,7 +543,7 @@ bool QRZLogin(string& sessionpage) if (ok) ok = parseSessionKey(sessionpage); } if (!ok) { - LOG_DEBUG("failed"); + LOG_VERBOSE("failed"); REQ(QRZAlert); } @@ -677,7 +677,7 @@ bool CALLOOKGetXML(string& xmlpage) { string url = string("http://callook.info/").append(callsign).append("/xml"); bool res = fetch_http(url, xmlpage, 5.0); - LOG_DEBUG("result = %d", res); + LOG_VERBOSE("result = %d", res); return res; }