add debug logging

This commit is contained in:
Alexander Tokmakov 2022-03-22 15:34:20 +01:00
parent 0ab258be01
commit bc5a689899
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ void ZooKeeper::init(const std::string & implementation_, const Strings & hosts_
if (secure)
host_string.erase(0, strlen("secure://"));
LOG_TEST(log, "Adding ZooKeeper host {} ({})", host_string, Poco::Net::SocketAddress{host_string}.toString());
nodes.emplace_back(Coordination::ZooKeeper::Node{Poco::Net::SocketAddress{host_string}, secure});
}
catch (const Poco::Net::HostNotFoundException & e)

View File

@ -31,7 +31,7 @@ try:
from confluent_kafka.avro.cached_schema_registry_client import \
CachedSchemaRegistryClient
except Exception as e:
logging.warning(f"Cannot import some modules, some tests may not work:{e}")
logging.warning(f"Cannot import some modules, some tests may not work: {e}")
from dict2xml import dict2xml
from kazoo.client import KazooClient