For some reason I had to put in the Application's didFinishLaunching method:
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess);
NSLog.debug.setAllowedDebugLevel(NSLog.DebugLevelDetailed);

This seems to have fixed it as the didFinishLaunching method is called after ERXProperties has done its thing. But the problem is that I have to comment it out and recompile for deployment, but that is okay as I am trying to optimise database access at the moment.


On 03/11/2005, at 12:29 PM, Greg Hulands wrote:

Hi,
I searched the list and found other people had problems trying to log SQL statements when using the Wonder frameworks. I followed the advice and put in the properties file:

log4j.category.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG
log4j.category.er.transaction.adaptor.EOAdaptorDebugEnabled.BackTrace= INFO

but it still doesn't log the sql.

Does anyone have a solution for this?

Regards,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ghulands% 40framedphotographics.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to