More debug logging cleanup

This commit is contained in:
Grant Limberg 2020-08-12 10:00:09 -07:00
parent 30b18d925f
commit 058d888311
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
3 changed files with 0 additions and 12 deletions

View file

@ -456,7 +456,6 @@ void PostgreSQL::initializeNetworks(PGconn *conn)
auto servers = json::array();
if (serverList.rfind("{",0) != std::string::npos) {
serverList = serverList.substr(1, serverList.size()-2);
fprintf(stderr, "Server List: %s\n", serverList.c_str());
std::stringstream ss(serverList);
while(ss.good()) {
std::string server;
@ -468,7 +467,6 @@ void PostgreSQL::initializeNetworks(PGconn *conn)
obj["servers"] = servers;
config["dns"].push_back(obj);
}
fprintf(stderr, "%s: %s\n", OSUtils::jsonString(config["nwid"], "").c_str(), OSUtils::jsonDump(config["dns"], 2).c_str());
PQclear(r2);