No need to recompile jBoss. "debug" can be set from a deployed bean.

Andreas

-----Original Message-----
From: Kimpton,C (Chris) [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 19. Januar 2001 10:10
To: 'jBoss'
Subject: RE: [jBoss-User] Logging of SQL-statements


Hi,

> is it possible to make jBoss print the SQL generated for a CMP-bean?
> I have tried setting <call-logging>true</call-logging> in 
> standardjboss.xml,
> and also <attribute name="LoggingEnabled">true</attribute> in 
> jboss.cml,
> without success.

READ THE MAILING LIST ARCHIVE... and you will find Tobias said....



You have to compile JBoss yourself (get it from cvs or the
sourcesnapshot, be careful since config files changed between 2.0 FINAL
and cvs !). BEFORE you execute the build script in jboss/src/build edit
the file
jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java

Set 
   public static boolean debug = false;
to
   public static boolean debug = true;
and save, then compile.

If you add Debug in jboss.conf in the logger entry you should see all
SQL statements now.




Have fun,
Chris


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to