[open-ils-commits] r7985 - trunk/Open-ILS/src/c-apps

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 4 09:54:57 EST 2007


Author: erickson
Date: 2007-11-04 09:39:40 -0500 (Sun, 04 Nov 2007)
New Revision: 7985

Modified:
   trunk/Open-ILS/src/c-apps/oils_idl-core.c
Log:
changed the majority of the IDL parsing logs from INFO to DEBUG

Modified: trunk/Open-ILS/src/c-apps/oils_idl-core.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_idl-core.c	2007-11-04 12:36:30 UTC (rev 7984)
+++ trunk/Open-ILS/src/c-apps/oils_idl-core.c	2007-11-04 14:39:40 UTC (rev 7985)
@@ -36,7 +36,7 @@
 		return NULL;
 	}
 
-	osrfLogInfo(OSRF_LOG_MARK, "Initializing the Fieldmapper IDL...");
+	osrfLogDebug(OSRF_LOG_MARK, "Initializing the Fieldmapper IDL...");
 
 	xmlNodePtr docRoot = xmlDocGetRootElement(idlDoc);
 	xmlNodePtr kid = docRoot->children;
@@ -52,7 +52,7 @@
 
 			string_tmp = NULL;
 			if ((string_tmp = (char*)xmlGetNsProp(kid, BAD_CAST "tablename", BAD_CAST PERSIST_NS))) {
-				osrfLogInfo(OSRF_LOG_MARK, "Using table '%s' for class %s", string_tmp, osrfHashGet(usrData, "classname") );
+				osrfLogDebug(OSRF_LOG_MARK, "Using table '%s' for class %s", string_tmp, osrfHashGet(usrData, "classname") );
 				osrfHashSet(
 					usrData,
 					strdup( string_tmp ),
@@ -73,7 +73,7 @@
 			string_tmp = NULL;
 			if( (string_tmp = (char*)xmlGetProp(kid, BAD_CAST "controller") )) {
 				char* controller_list = strdup( string_tmp );
-				osrfLogInfo(OSRF_LOG_MARK, "Controller list is %s", string_tmp );
+				osrfLogDebug(OSRF_LOG_MARK, "Controller list is %s", string_tmp );
 
 				if (strlen( controller_list ) > 0) {
 					char* st_tmp;
@@ -165,7 +165,7 @@
 							);
 						}
 
-						osrfLogInfo(OSRF_LOG_MARK, "Found field %s for class %s", string_tmp, osrfHashGet(usrData, "classname") );
+						osrfLogDebug(OSRF_LOG_MARK, "Found field %s for class %s", string_tmp, osrfHashGet(usrData, "classname") );
 
 						osrfHashSet(
 							fields,
@@ -195,7 +195,7 @@
 								"reltype"
 							);
 						}
-						osrfLogInfo(OSRF_LOG_MARK, "Adding link with reltype %s", string_tmp );
+						osrfLogDebug(OSRF_LOG_MARK, "Adding link with reltype %s", string_tmp );
 
 						string_tmp = NULL;
 						if( (string_tmp = (char*)xmlGetProp(_l, BAD_CAST "key")) ) {
@@ -205,7 +205,7 @@
 								"key"
 							);
 						}
-						osrfLogInfo(OSRF_LOG_MARK, "Link fkey is %s", string_tmp );
+						osrfLogDebug(OSRF_LOG_MARK, "Link fkey is %s", string_tmp );
 
 						string_tmp = NULL;
 						if( (string_tmp = (char*)xmlGetProp(_l, BAD_CAST "class")) ) {
@@ -215,14 +215,14 @@
 								"class"
 							);
 						}
-						osrfLogInfo(OSRF_LOG_MARK, "Link fclass is %s", string_tmp );
+						osrfLogDebug(OSRF_LOG_MARK, "Link fclass is %s", string_tmp );
 
 						osrfStringArray* map = osrfNewStringArray(0);
 
 						string_tmp = NULL;
 						if( (string_tmp = (char*)xmlGetProp(_l, BAD_CAST "map") )) {
 							char* map_list = strdup( string_tmp );
-							osrfLogInfo(OSRF_LOG_MARK, "Link mapping list is %s", string_tmp );
+							osrfLogDebug(OSRF_LOG_MARK, "Link mapping list is %s", string_tmp );
 
 							if (strlen( map_list ) > 0) {
 								char* st_tmp;
@@ -251,7 +251,7 @@
 							strdup( string_tmp )
 						);
 
-						osrfLogInfo(OSRF_LOG_MARK, "Found link %s for class %s", string_tmp, osrfHashGet(usrData, "classname") );
+						osrfLogDebug(OSRF_LOG_MARK, "Found link %s for class %s", string_tmp, osrfHashGet(usrData, "classname") );
 
 						_l = _l->next;
 					}
@@ -260,7 +260,7 @@
 				if (!strcmp( (char*)_cur->name, "source_definition" )) {
 					string_tmp = NULL;
 					if( (string_tmp = (char*)xmlNodeGetContent(_cur)) ) {
-						osrfLogInfo(OSRF_LOG_MARK, "Using source definion '%s' for class %s", string_tmp, osrfHashGet(usrData, "classname") );
+						osrfLogDebug(OSRF_LOG_MARK, "Using source definion '%s' for class %s", string_tmp, osrfHashGet(usrData, "classname") );
 						osrfHashSet(
 							usrData,
 							strdup( string_tmp ),



More information about the open-ils-commits mailing list