Reputation: 4454
I used to use networkConfig.setProperty("hazelcast.logging.type", "none")
in cluster's network configuration, but I can't see any logging-related configuration methods in any of ClientConfig
and ClientNetworkConfig
. Please help to save my server's log files.
Hazelcast version: 3.2.5
Upvotes: 2
Views: 2554
Reputation: 11221
I use Hazelcast with the default JDK logger.
This works for me to save my server's log files:
Logger logger = Logger.getLogger("");
logger.setLevel(Level.WARNING);
Upvotes: 1
Reputation: 11307
I think you can do exactly the same thing on the ClientConfig using the ClientConfig.setProperty. Personally I never use it, I prefer to use the commandline option (-Dhazelcast.logging.type=blabla) because this give more predictable logging behavior.
Upvotes: 1