if (adaptorCategory.isDebugEnabled() && NSLog.debugLoggingAllowedForGroups(NSLog.DebugGroupSQLGeneration)) {
if (adaptorCategory.isDebugEnabled() && !NSLog.debugLoggingAllowedForGroups(NSLog.DebugGroupSQLGeneration)) {
    public static void configureAdaptorContextRapidTurnAround(Object observer) {        if (!_isConfigureAdaptorContextRapidTurnAround) {            // This allows enabling from the log4j system.            adaptorCategory = Category.getInstance("er.transaction.adaptor.EOAdaptorDebugEnabled");            sharedEOAdaptorCategory = Category.getInstance("er.transaction.adaptor.EOSharedEOAdaptorDebugEnabled");            if (adaptorCategory.isDebugEnabled() && NSLog.debugLoggingAllowedForGroups(NSLog.DebugGroupSQLGeneration)) {                NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration);            }            adaptorEnabled = NSLog.debugLoggingAllowedForGroups(NSLog.DebugGroupSQLGeneration) ? Boolean.TRUE : Boolean.FALSE;                                          // Allows rapid turn-around of adaptor debugging.            NSNotificationCenter.defaultCenter().addObserver(observer,                                                             new NSSelector("configureAdaptorContext", ERXConstant.NotificationClassArray),                                                             ERXLog4j.ConfigurationDidChangeNotification,                                                             null);            _isConfigureAdaptorContextRapidTurnAround = true;        }    }