Hi Jon!
If you compile JBoss from cvs/sources just set
public static boolean debug = false;
to
public static boolean debug = true;
in
jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java
before you compile.
Cheers,
Tobias
"Jon T. Ilko" wrote:
>
> This is probably simple to do but I can't seem to figure it out.
>
> How do you get jaws to log the sql used in CMP entity beans finders?
>
> Example from jboss-user list archive:
> > [JAWS] findById command executing: SELECT uniqueid FROM UserEntity
> > WHERE uniqueid=?
> > [JAWS] Set parameter: idx=1, jdbcType=VARCHAR, value=1233546
> >
>
> I've tried adding DEBUG to the Consolelogging MBean in jboss.conf
> like the following but that did not seem to work. Is that how you do it?
>
> <MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss.jar"
> CODEBASE="..
> /../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="Debug,Information,Warning,Error">
> <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
> </MLET>
>
> I'm running jboss-pre-2.1 on FreeBSD 4.2-stable
> with Sun's linux jdk1.3.0beta_refresh-b09
>
> Any guidance would be greatly appreciated
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]