added a log line
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Aug 2006 21:50:32 +0000 (21:50 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Aug 2006 21:50:32 +0000 (21:50 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@769 9efc2488-bf62-4759-914b-345cdb29e865

src/router/osrf_router.c

index 093d62a..4e61992 100644 (file)
@@ -451,6 +451,9 @@ int __osrfRouterFillFDSet( osrfRouter* router, fd_set* set ) {
                        sockid = class->ROUTER_SOCKFD;
        
                        if( osrfUtilsCheckFileDescriptor( sockid ) ) {
+
+                               osrfLogWarning(OSRF_LOG_MARK, 
+                                       "Removing router class '%s' because of a bad top-level file descriptor [%d]", classname, sockid);
                                osrfRouterRemoveClass( router, classname );
        
                        } else {