浏览代码

Report which RPC interfaces are initialized during startup.

Chris McDonough 18 年之前
父节点
当前提交
f8ec9bd2c8
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)