Search code examples
gemfiresnappydata

gemfirexd client log not logging


I am running this from ubuntu. The Gemfire client log is not logging. Is there something incorrect in my syntax or property settings?

java -jar sample-snappydata-sensor-0.0.1-SNAPSHOT.jar 
-Dgemfirexd.debug.true=TraceClientStatementMillis,TraceClientConn,TraceClientHA 
-Dgemfirexd.client.log-file=snappydata-client.log

Solution

  • Try giving full path for log-file e.g. /home/.../snappydata-client.log and see if it shows up there.

    Alternatively, you can also set the log-file in connection settings (and try full path). For example:

    DriverManager.getConnection("jdbc:snappydata://.../;log-file=...")