Logging to dump SQL queries [message #244990] |
Tue, 26 June 2007 23:06  |
Eclipse User |
|
|
|
Originally posted by: rodionos.gmail.com
My environment:
- birt 2.1.2
- jdk 1.4.2
- stand-along java application
I have a requirement to log SQL queries that are executed by various
viewer and report engine tasks.
Config logger doesn't seem to have any effect:
config.setLogConfig(null, Level.FINEST);
I also tried package and class loggers, to no avail:
Logger.getLogger("org.eclipse.birt.data.engine").setLevel(Level.FINEST);
Logger.getLogger("org.eclipse.birt.data.engine.odaconsumer.Driver ").setLevel(Level.FINEST);
Is there a trick to configuring BIRT logging for stand-along applications?
No matter what I do, I still get a warning at the data engine startup:
26.06.2007 20:03:20 org.eclipse.birt.data.engine.odaconsumer.Driver
setLogConfiguration
INFO: ODA driver does not have valid trace logging defined in the plug-in
options or plugin.xml file.
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds