14.2. Controlling Command Logging

Documentation

VoltDB Home » Documentation » Using VoltDB

14.2. Controlling Command Logging

Command logging is enabled by default. Using command logging is recommended to ensure durability of your data. However, you can choose whether to have command logging enabled or not using the deployment.commandlog property in the configuration. For example:

deployment:
  commandlog:
    enabled: true

In its simplest form, the commandlog property enables or disables command logging by setting enabled to "true" or "false". You can also use other subproperties to control specific characteristics of command logging. The following section describes those options in detail.