Follow the directions below to turn on logging for SQL generation in the BA Server or Mondrian engine. If you are aware of other log4j classes that will assist you in configuration troubleshooting or performance-tuning, you can add them during this process.
- Stop the BA Server or standalone Mondrian engine.
- Edit the log4j.xml file in the /WEB-INF/classes/ directory inside of the deployed pentaho.war or Mondrian engine. Note: In some Mondrian implementations, this file is log4j.properties. Substitute this filename accordingly if you do not see a log4j.xml file.
- Add the following line anywhere inside of the </log4j:configuration> node (but not inside of other constituent node tags):
- Save and close the file.
- Start the BA Server or Mondrian engine.