More debug logging cleanup
This commit is contained in:
parent
30b18d925f
commit
058d888311
3 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue