logging - Output SQL with log4j in Jaspersoft Studio -



logging - Output SQL with log4j in Jaspersoft Studio -

some background first. i'm using jaspersoft studio 5.6.0 final , have followed instructions here setup log4j. i'm trying log4j output sql query when study run. have problem query , need see sql outputed jaspersoft studio. have working datasource setup connection datasource not problem.

i thought next instructions @ link above , adding log4j.logger.net.sf.jasperreports.engine.query.jrjdbcqueryexecuter=debug log4j-config.properties file allow me see output sql, it's not working.

to run study compile jrxml , click preview tab. since followed instructions in link above, shouldn't sql outputed log4j log file when that?

i need working can prepare query. help appreciated.

please add together net.sf.jasperreports.engine.query.jrjdbcqueryexecuter = logging-config.properties...also run jasper studio administrator. works me..i using java util logging(-djava.util.logging.config.file=c:/jsslog/config/logging-config.properties) , not apache log4j logging.

sql logging jasper-reports log4j jaspersoft-studio

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -