[Opensrf-commits] r1800 - trunk/src/router (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 28 23:58:15 EDT 2009
Author: scottmk
Date: 2009-09-28 23:58:13 -0400 (Mon, 28 Sep 2009)
New Revision: 1800
Modified:
trunk/src/router/osrf_router_main.c
Log:
Comment out an error message added in the previous patch.
The error message reported what looks like an error condition:
the config file doesn't provide transport info. However what
appears to be happening is that the program tries to read
several different sections of the config file, of which some
are relevant and some aren't, due to some overloading of the
<routers> tag. As a result it routinely spawns irrelevant
children, only to watch them die.
There's got to be a better way, but for now I'll just
suppress the error message.
M src/router/osrf_router_main.c
Modified: trunk/src/router/osrf_router_main.c
===================================================================
--- trunk/src/router/osrf_router_main.c 2009-09-29 01:47:23 UTC (rev 1799)
+++ trunk/src/router/osrf_router_main.c 2009-09-29 03:58:13 UTC (rev 1800)
@@ -115,7 +115,7 @@
jsonObject* transport_cfg = jsonObjectGetKey( configChunk, "transport" );
if( ! transport_cfg ) {
- fprintf( stderr, "Child router process %ld has no transport configuration\n", (long) getpid() );
+ //fprintf( stderr, "Child router process %ld has no transport configuration\n", (long) getpid() );
return; /* these are not the configs you're looking for */
}
More information about the opensrf-commits
mailing list