|
Re: Generate BIRT logging [message #521142 is a reply to message #521081] |
Tue, 16 March 2010 14:46 |
|
Trevor,
BIRT does not use Log4J but you should be able to set it up to use it like:
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_Can_I_use_Log 4j_with_BIRT.3F
Also you can set the log level to FINEST in the web.xml to see the
queries I believe.
You might want to look at the viewer.properties file under the loggers
category to set the logger levels for the datatools plugins as well.
Jason
TREVOR.HIGGINS@FINEOS.COM wrote:
> I'm trying to see how often/what queries are run in BIRT using log4J (I
> know I can dump the query using javascript but I want to see the point
> where it executes it against the database). I've tried putting the
> following into a log4J properties file in the WEB-INF/classes directory
> in out reporting application but it doesnt print anything from BIRT (it
> does print our own log statements):
>
>
> log4j.category.org.eclipse.birt.report.data.oda.jdbc=DEBUG
> log4j.category.org.eclipse.birt.report.data.oda.jdbc.Stateme nt=DEBUG
>
>
> I've tried copying the prop file to the plugins directory and the
> drivers directory without success - where does it need to go to pick up
> BIRT classes?
>
> Alternatively where do I put the log4J file when running the report in
> designer, either would be fine for me.....
>
> thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds