debug output

This commit is contained in:
Grant Limberg 2020-08-04 14:33:18 -07:00
parent 88a3c685fb
commit d2708daa8e
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

View file

@ -468,7 +468,7 @@ void PostgreSQL::initializeNetworks(PGconn *conn)
obj["servers"] = servers; obj["servers"] = servers;
config["dns"].push_back(obj); config["dns"].push_back(obj);
} }
fprintf(stderr, "%s\n", OSUtils::jsonDump(config["dns"], 2).c_str()); fprintf(stderr, "%s: %s\n", OSUtils::jsonString(config["nwid"], "").c_str(), OSUtils::jsonDump(config["dns"], 2).c_str());
PQclear(r2); PQclear(r2);