RequestLoggerSetsupachildbunyanloggerwiththecurrentrequestidfilledin,alongwithanyotherparametersyoudefine.server.use(restify.requestLogger());注册插件不会记录请求。 最佳答案 RequestLogger插件不记录每个请求。它extendsthe.logpropertyofthereq:Theadvantagetodoingthisisthateachrestifyreqinstancehasa