[Mondrian] SQL Tracing

Matt Campbell mkambol at gmail.com
Mon Mar 22 11:26:16 EDT 2010

I believe *mondrian.trace.level* is obsolete.  You should be able to get all
SQL statements by setting up log4j appropriately, though.  Edit log4j.xml
and set the following category to log to your appender of choice, e.g.

   <category name="mondrian.sql">
      <priority value="DEBUG"/>
      <appender-ref ref="SQLLOG"/>
      <appender-ref ref="CONSOLE"/>

(there's also a mondrian.mdx logger).

On Mon, Mar 22, 2010 at 11:09 AM, Bruno Gomes <semog15 at gmail.com> wrote:

> Hi, i want to trace the SQL statments, i have follow the mondrian
> technical guide, and added to mondrian.properties the follow
> properties:
> ----
> #Tracing
> mondrian.trace.level=5
> mondrian.debug.out.file=./traceLog.out
> ----
> I have putted the mondrian.properties in the
> [Tomcat_Path]/webapps/mondrian/WEB-INF/classes
> But now, i can't find the output file (traceLog.out), is the location
> of mondrian.properties right?
> Thanks for the help in advance.
> Best regards.
> --
> Bruno Gomes
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100322/89a38810/attachment.html 

More information about the Mondrian mailing list