Ted,

if Timothy's advice does not help -- I bumped into similar problem lately 
(along with my weird “prepareForSaveWithCoordinator: Cannot save the object 
with globalID” problems /whose relatively unsurprising and rather sad results 
I'm about to write in a moment/), and haven't been able to log SQL whatever 
setting I used. Eventually I had to resort to code, and for me, this line

NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration|NSLog.DebugGroupDatabaseAccess|NSLog.DebugGroupEnterpriseObjects)

makes the SQL log to appear all right.

Regret to say I do not really understand the mess -- just found it on the Web 
and tried out of desperation. YMMV.

All the best,
OC


On 6. 2. 2015, at 20:18, Theodore Petrosky <tedp...@yahoo.com> wrote:

> I have googled, searched the wiki, and tried everything I could think of, but 
> I can not get my sql  to log. In my properties:
> 
> # ERExtensions
> # Transaction - Switching this to debug will start the sql ouputting.
> log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG
> 
> still no SQL  :-(
> 
> I tried in the Launch Configuration Properties
> 
> EOAdaptorDebugEnabled=true
> 
> Please, I want to see my SQL.
> 
> Ted
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ocs%40ocs.cz
> 
> This email sent to o...@ocs.cz


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

This email sent to arch...@mail-archive.com

Reply via email to