14.3. Enabling Logging for VoltDB

Documentation

Home » Documentation » Using VoltDB

14.3. Enabling Logging for 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 create mycatalog.jar \
     -H localhost -d mydeployment.xml