AlgoTraderAlgoTrader Documentation

Chapter 29. Logging

29.1. log4j2.xml
29.2. Production log4j2.xml

AlgoTrader logging is provided by Apache Log4j 2 framework. The Logging system is configured by means of log4j2.xml file.

The log level can be changed through the following VM argument:


For production usage it is recommended to adapt the log4j2.xml to client specific needs. Additional samples for production use are available inside log4j2.xml.


  • Problems with the Email Appender go to System.err (on server see nohup.log)

  • To prevent saturation of the logs several loggers have been defined with a logging level higher than the root log level

Detailed description of Log4j2 appenders and advanced configuration can be found at the Apache Logging site.