|Managing and Monitoring GemFire XD / Configuring and Using GemFire XD Log Files|
GemFire XD provides debug trace flags to record additional information about GemFire XD features in the log file.
|QueryDistribution||Detailed logging for distributed queries and DML statements, including information about message distribution to GemFire XD members and scan types that were opened.|
|StatementMatching||Logging for optimizations that are related to unprepared statements.|
|TraceAuthentication||Additional logging for GemFire XD authentication.|
|TraceDBSynchronizer||DBSynchronizer and WAN distribution logging.|
|TraceClientConn||Client-side connection open and close stack traces.|
|TraceClientStatement||Client-side, basic timing logging.|
|TraceClientStatementMillis||Client-side wall clock timing.|
|TraceIndex||Detailed index logging.|
|TraceJars||Logging for JAR installation, replace, and remove events.|
|TraceTran||Detailed logging for transaction events and operations, including commit and rollback.|
|TraceLock_*||Locking and unlocking information for all internal locks.|
|TraceLock_DD||Logging for all DataDictionary and table locks that are acquired or released.|
gfxd server start -J-Dgemfirexd.debug.true=QueryDistribution,TraceIndex
Properties props = new Properties(); props.put("gemfirexd.debug.true", "TraceIndex,QueryDistribution"); System.setProperties(props); Java.sql.Connection conn = java.sql.DriverManager.getConnection("jdbc:gemfirexd:");
Client-side trace flags write additional information to the client log file, which is configured using the gemfirexd.client.log-file property.
gfxd> call sys.set_trace_flag('traceindex', 'true'); Statement executed.