|Performance Tuning and Configuration / Logging|
The best way to manage and understand the logs is to have each member log to its own files.
log-file=./log/member.logthen start each member in a different directory with this command, which points to the common properties file:
java -DgemfirePropertyFile=<commonDirectoryPath>/gemfire.propertiesThis way, each member has its own log files under its own working directory.
gfsh> export logs --dir=myDir --dir=myDir --merge-log=true
In addition to the system logs, you can add your own application logs from your Java code. For information on adding custom logging to your applications, see the online Java documentation for the com.gemstone.gemfire.LogWriter interface. Both system and application logging is output and stored according to your logging configuration settings.