The alternative is to use a JDBC driver like p6spy. This puts itself between Torque and the real driver. Has the advantage of getting any JDBC written by hand too. Works very well - but don't use it on a production server as it leaks like a sieve!
Joe On 08/06/06, Eustache <[EMAIL PROTECTED]> wrote:
Eustache wrote: > Greg Monroe wrote: > >> Try: >> >> http://www.mail-archive.com/ >> >> >>> -----Original Message----- >>> From: Eustache [mailto:[EMAIL PROTECTED] Sent: Thursday, >>> June 08, 2006 11:21 AM >>> To: Apache Torque Users List >>> Subject: No search for mailing list archives ?? >>> >>> At least I could not find it on http://db.apache.org/torque/ ... if >>> there is not it's really ... a pity I wanted to search if anyone >>> knows how to log sql requests generated by Torque ? >>> Thx >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> >> Duke CE Privacy Statement >> Please be advised that this e-mail and any files transmitted with it >> are confidential communication or may otherwise be privileged or >> confidential and are intended solely for the individual or entity to >> whom they are addressed. If you are not the intended recipient you >> may not rely on the contents of this email or any attachments, and we >> ask that you please not read, copy or retransmit this communication, >> but reply to the sender and destroy the email, its contents, and all >> copies thereof immediately. Any unauthorized dissemination, >> distribution or copying of this communication is strictly prohibited. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > Thx ! Maybe adding a link on the mail archive page would be good ? > However I could not find anything on how I could log those sql > requests generated by Torque. Any idea ? > Thx again > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > OK I found it, just have to turn DEBUG on in my log4j.properties file. Sorry for the newbie question. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
