tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sL07 <lu...@asteriski.com>
Subject sql logging help
Date Tue, 07 Jul 2009 05:02:17 GMT

hi all,

i am unable to get the SQL trace generated while using openEJB in Junit.
i have read all the posts regarding logging but it aint working for me.

i am using
           p.put(Context.INITIAL_CONTEXT_FACTORY, 
	          "org.apache.openejb.client.LocalInitialContextFactory");
			
			
			p.put("log4j.category.org.hibernate.SQL", "debug");
			p.put("log4j.category.org.hibernate", "debug");
			p.put("log4j.category.OpenEJB.options", "debug");
                      ctx = new InitialContext( p );


am i using the wrong category for the SQL trace?

any help appreciated.

-lp
-- 
View this message in context: http://www.nabble.com/sql-logging-help-tp24367165p24367165.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message