I'm using Hazelcast as a library in my program.

I don't want Hazelcast to print all the stuff to console while adding a node or creating newHazelcastInstance.

It should just add node in background without printing? How can I achieve this?

有帮助吗?

解决方案

It depends on your logging framework you are using, or how you have configured Hazelcast.

For example if you are using log4j and have selected the log4j logger in Hazelcast, then you could filter out the Hazelcast log entries.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top