Configure the transaction log directory

Improve this page by contributing to our documentation.

A dedicated device can be assigned for logs (instead of using the data directory) to help avoid competition between logging and snaphots. To do so, set the dataLogDir chart parameter with the path to be used for writing transaction logs. Alternatively, set this parameter to an empty string and it will result in the log being written to the data directory (ZooKeeper’s default behavior).

When using a dedicated device for logs, you can use a PersistentVolumeClaim to persist the logs. To do so, set the persistence.enabled chart parameter to true.