Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Generate BIRT logging(In designer or standalone app)
Generate BIRT logging [message #521081] Tue, 16 March 2010 12:31 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 94
Registered: November 2009
Member
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.Statement=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
Re: Generate BIRT logging [message #521142 is a reply to message #521081] Tue, 16 March 2010 14:46 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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
Previous Topic:birt chart: axis limitations
Next Topic:Loading reports from Classpath?
Goto Forum:
  


Current Time: Fri Apr 26 22:52:04 GMT 2024

Powered by FUDForum. Page generated in 0.03029 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top