My old code which used the hazelcast intance would look it up from the
Hazelcast class and i expected the same code to work when
i moved to using the client. Was able to work around it.
When i was using the actual hazelcast instances, i was able to
redirect the logs to our specific log files by specifying
hazelcast.logging.type as shown below and then specifying
the appropriate logger for com.hazelcast in logback.xml
I wanted to redirect the logs from the client, i tried the
same but does not seem to work. Any pointers?
<hz:hazelcast id="MyInstance">
<hz:config>
<hz:instance-name>MyInstance</hz:instance-name>
<hz:properties>
<hz:property name="hazelcast.logging.type">slf4j</
hz:property>
</hz:properties>
<hz:network port="5702" port-auto-increment="true">
......
</hz:network>