浏览代码

debug printf

Grant Limberg 1 周之前
父节点
当前提交
686653509a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nonfree/controller/CentralDB.cpp

+ 1 - 0
nonfree/controller/CentralDB.cpp

@@ -88,6 +88,7 @@ CentralDB::CentralDB(
 	char myAddress[64];
 	_myAddressStr = myId.address().toString(myAddress);
 	_connString = std::string(connString);
+	fprintf(stderr, "connstring: %s\n", _connString.c_str());
 	auto f = std::make_shared<PostgresConnFactory>(_connString);
 	_pool =
 		std::make_shared<ConnectionPool<PostgresConnection> >(15, 5, std::static_pointer_cast<ConnectionFactory>(f));