• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Logging SQL with Wonder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Logging SQL with Wonder (From: Greg Hulands <email@hidden>)

  • Prev by Date: Logging SQL with Wonder
  • Next by Date: mySql Issues
  • Previous by thread: Logging SQL with Wonder
  • Next by thread: mySql Issues
  • Index(es):
    • Date
    • Thread