From 6f41e98c29418df437755830140cb085c47e268c Mon Sep 17 00:00:00 2001 From: scottmk Date: Tue, 29 Sep 2009 03:58:13 +0000 Subject: [PATCH 1/1] 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 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 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1800 9efc2488-bf62-4759-914b-345cdb29e865 --- src/router/osrf_router_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/osrf_router_main.c b/src/router/osrf_router_main.c index 9630f29..7e39a18 100644 --- a/src/router/osrf_router_main.c +++ b/src/router/osrf_router_main.c @@ -115,7 +115,7 @@ static void setupRouter(jsonObject* configChunk) { 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 */ } -- 2.43.2