6.5. Enabling Your Custom Log Configuration When Starting VoltDB

Documentation

VoltDB Home » Documentation » Administrator's Guide

6.5. Enabling Your Custom Log Configuration When Starting VoltDB

Once you create your Log4J configuration file, you specify which configuration file to use by defining the variable LOG4J_CONFIG_PATH before starting the VoltDB database. For example:

$ LOG4J_CONFIG_PATH="$HOME/MyLog4jConfig.xml"
$ voltdb start -H svr1,svr2