Reputation: 613
I'm developing a web app that shows some dashboard panels with data provided by a OLAP cube. I'm using Mondrian as the analytical platform. Currently, I have everything working. The dashboard works fine with the data provided by Mondrian.
Now, I want to access the query logs from Mondrian, to check their execution time, etc. I've checked the docs but I couldn't make it work: I can't understand what it means.
Then I've searched for tutorials, but all of them talk about a log4j.xml
file in the folder tomcat/webapps/mondrian/WEB-INF/classes
. The thing is that I only have a log4j.properties
file in that folder.
Can you help me getting logging to work?
Thanks in advance.
Upvotes: 2
Views: 1524
Reputation: 41
You may get this error when your log4j.properties are not present in the classpath. For maven project you should put log4j.properties or log4j.xml in src/main/resources folder. File in resources will be included in classpath so log4j can read it
Upvotes: 0
Reputation: 66
You can take a look at how the Pentaho Business Analytics Server does it.
Place the log4j.xml
file in your WEB-INF/classes
folder.
Good luck!
Will
Upvotes: 3