• 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: EO Adaptor Debug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EO Adaptor Debug


  • Subject: Re: EO Adaptor Debug
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 23 Nov 2009 14:34:32 -0800

You've probably changed the NSLog Group or Level. Here is what I use to turn this on in code:

public static void logSQL(boolean shouldLog)
{
if (shouldLog)
{
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration
| NSLog.DebugGroupDatabaseAccess
| NSLog.DebugGroupEnterpriseObjects);
NSLog.debug.setAllowedDebugLevel(NSLog.DebugLevelDetailed);
}
else
{
NSLog.refuseDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration
| NSLog.DebugGroupDatabaseAccess
| NSLog.DebugGroupEnterpriseObjects);
NSLog.debug.setAllowedDebugLevel(NSLog.DebugLevelOff);
}
}




On Nov 23, 2009, at 2:19 PM, Andrew Lindesay wrote:

Hello;

I have used this many times prior, but it's got me today;

	-DEOAdaptorDebugEnabled=true

I can't seem to get out the SQL trace -- I know there's gotchas around this one. Can anybody remember how to make this one work?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz

_______________________________________________
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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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


  • Follow-Ups:
    • Re: EO Adaptor Debug
      • From: Andrew Lindesay <email@hidden>
References: 
 >EO Adaptor Debug (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder
  • Next by Date: Re: EO Adaptor Debug
  • Previous by thread: EO Adaptor Debug
  • Next by thread: Re: EO Adaptor Debug
  • Index(es):
    • Date
    • Thread