Browse Source

Report which RPC interfaces are initialized during startup.

Chris McDonough 18 năm trước cách đây
mục cha
commit
f8ec9bd2c8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/supervisor/http.py

+ 1 - 0
src/supervisor/http.py

@@ -761,6 +761,7 @@ def make_http_server(options, supervisord):
             import traceback; traceback.print_exc()
             raise ValueError('Could not make %s rpc interface' % name)
         subinterfaces.append((name, inst))
+        options.logger.info('RPC interface %r initialized' % name)
         
     subinterfaces.append(('system', SystemNamespaceRPCInterface(subinterfaces)))
     xmlrpchandler = supervisor_xmlrpc_handler(supervisord, subinterfaces)