Method: ZK::Server::Config#data_log_dir

Defined in:
lib/zk-server/config.rb

#data_log_dirObject

defaults to nil, and zookeeper will just use the default value (being the same as #data_dir

This option will direct the machine to write the transaction log to the dataLogDir rather than the dataDir. This allows a dedicated log device to be used, and helps avoid competition between logging and snaphots.



49
50
51
# File 'lib/zk-server/config.rb', line 49

def data_log_dir
  @data_log_dir
end