mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
add debug logging
This commit is contained in:
parent
0ab258be01
commit
bc5a689899
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user