[open-ils-commits] r11567 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 15 08:37:52 EST 2008
Author: miker
Date: 2008-12-15 08:37:51 -0500 (Mon, 15 Dec 2008)
New Revision: 11567
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
log context fields during perm checks
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 06:52:57 UTC (rev 11566)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 13:37:51 UTC (rev 11567)
@@ -949,7 +949,7 @@
char* lcontext = NULL;
while ( (lcontext = osrfStringArrayGetString(local_context, i++)) ) {
osrfStringArrayAdd( context_org_array, oilsFMGetString( param, lcontext ) );
- osrfLogDebug( OSRF_LOG_MARK, "adding class-local field %s to the context org list", osrfStringArrayGetString(context_org_array, context_org_array->size - 1) );
+ osrfLogDebug( OSRF_LOG_MARK, "adding class-local field %s (value: %s) to the context org list", lcontext, osrfStringArrayGetString(context_org_array, context_org_array->size - 1) );
}
}
@@ -996,6 +996,13 @@
char* foreign_field = NULL;
while ( (foreign_field = osrfStringArrayGetString(osrfHashGet(fcontext,"context"), i++)) ) {
osrfStringArrayAdd( context_org_array, oilsFMGetString( _fparam, foreign_field ) );
+ osrfLogDebug(
+ OSRF_LOG_MARK,
+ "adding foreign class %s field %s (value: %s) to the context org list",
+ class_name,
+ foreign_field,
+ osrfStringArrayGetString(context_org_array, context_org_array->size - 1)
+ );
}
jsonObjectFree(_fparam);
More information about the open-ils-commits
mailing list