Re: Logging SQL with Wonder
Re: Logging SQL with Wonder
- Subject: Re: Logging SQL with Wonder
- From: Greg Hulands <email@hidden>
- Date: Thu, 3 Nov 2005 14:20:20 +1000
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@hidden)
Help/Unsubscribe/Update your Subscription:
40framedphotographics.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden