sijie commented on a change in pull request #2078: Enhance Pulsar cluster with
container logs
URL: https://github.com/apache/incubator-pulsar/pull/2078#discussion_r200020080
##########
File path:
tests/integration-tests-topologies/src/main/java/org/apache/pulsar/tests/topologies/PulsarCluster.java
##########
@@ -72,10 +83,13 @@ public static PulsarCluster forSpec(PulsarClusterSpec
spec) {
private final ProxyContainer proxyContainer;
private PulsarCluster(PulsarClusterSpec spec) {
+
this.spec = spec;
this.clusterName = spec.clusterName();
this.network = Network.newNetwork();
+
this.zkContainer = new ZKContainer(clusterName)
+ .withLogConsumer(new
Slf4jLogConsumer(log).withPrefix(ZKContainer.NAME))
Review comment:
you already added Sfl4jLogConsumer to PulsarContainer, I don't think you
need to configure it again here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services