14.2. Controlling Command Logging


VoltDB Home » Documentation » Using VoltDB

14.2. Controlling Command Logging

Command logging is enabled by default in the VoltDB Enterprise Edition. 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 <commandlog> element in the configuration file. For example:

   <cluster kfactor="1" />
   <commandlog enabled="true"/>

In its simplest form, the <commandlog/> tag enables or disables command logging by setting the enabled attribute to "true" or "false". You can also use other attributes and child elements to control specific characteristics of command logging. The following section describes those options in detail.