{"id":198961,"date":"2025-04-27T15:36:11","date_gmt":"2025-04-27T07:36:11","guid":{"rendered":"https:\/\/server.hk\/cnblog\/?p=198961"},"modified":"2025-04-27T15:36:11","modified_gmt":"2025-04-27T07:36:11","slug":"%e5%9f%ba%e4%ba%8e%e9%a6%99%e6%b8%af%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9e%84%e5%bb%ba%e9%ab%98%e6%95%88%e6%97%a5%e5%bf%97%e7%b3%bb%e7%bb%9f%ef%bc%9a%e5%bc%80%e5%8f%91%e8%80%85%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/198961\/","title":{"rendered":"\u57fa\u4e8e\u9999\u6e2f\u670d\u52a1\u5668\u6784\u5efa\u9ad8\u6548\u65e5\u5fd7\u7cfb\u7edf\uff1a\u5f00\u53d1\u8005\u6307\u5357"},"content":{"rendered":"<h2>\u4e00\u3001\u65e5\u5fd7\u7cfb\u7edf\u7684\u6838\u5fc3\u95ee\u9898<\/h2>\n<p>\u5728\u8bbe\u8ba1\u65e5\u5fd7\u7cfb\u7edf\u4e4b\u524d\uff0c\u5e94\u9996\u5148\u56de\u7b54\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u95ee\u9898\uff0c\u4ee5\u660e\u786e\u65e5\u5fd7\u7684\u4f5c\u7528\u4e0e\u76ee\u6807\uff1a<\/p>\n<ul>\n<li><strong>Why\uff08\u4e3a\u4ec0\u4e48\uff09<\/strong>\uff1a\u4e3a\u4ec0\u4e48\u9700\u8981\u8bb0\u5f55\u65e5\u5fd7\uff1f\u662f\u4e3a\u4e86\u8c03\u8bd5\u3001\u5ba1\u8ba1\u8fd8\u662f\u76d1\u63a7\uff1f<\/li>\n<li><strong>Who\uff08\u8c01\uff09<\/strong>\uff1a\u54ea\u4e9b\u6a21\u5757\u6216\u670d\u52a1\u5c06\u8d1f\u8d23\u751f\u6210\u65e5\u5fd7\uff1f<\/li>\n<li><strong>When\uff08\u4f55\u65f6\uff09<\/strong>\uff1a\u5728\u4f55\u79cd\u60c5\u51b5\u4e0b\u5e94\u8f93\u51fa\u65e5\u5fd7\uff1f\u5982\u7cfb\u7edf\u5f02\u5e38\u3001\u7528\u6237\u64cd\u4f5c\u3001\u63a5\u53e3\u8c03\u7528\u7b49\u3002<\/li>\n<li><strong>Where\uff08\u54ea\u91cc\uff09<\/strong>\uff1a\u65e5\u5fd7\u5c06\u4fdd\u5b58\u5230\u54ea\u91cc\uff1f\u672c\u5730\u78c1\u76d8\u3001\u65e5\u5fd7\u670d\u52a1\u5668\uff0c\u8fd8\u662f\u53d1\u9001\u5230\u4e91\u7aef\u5982 Slack\u3001BigQuery \u7b49\u3002<\/li>\n<li><strong>What\uff08\u4ec0\u4e48\uff09<\/strong>\uff1a\u65e5\u5fd7\u5185\u5bb9\u5e94\u5305\u542b\u54ea\u4e9b\u5173\u952e\u4fe1\u606f\uff1f<\/li>\n<li><strong>How\uff08\u5982\u4f55\uff09<\/strong>\uff1a\u65e5\u5fd7\u4ee5\u4ec0\u4e48\u6837\u7684\u683c\u5f0f\u548c\u65b9\u5f0f\u8fdb\u884c\u8bb0\u5f55\u4e0e\u8f93\u51fa\uff1f<\/li>\n<\/ul>\n<p>\u53ea\u6709\u6e05\u6670\u56de\u7b54\u8fd9\u4e9b\u95ee\u9898\uff0c\u624d\u80fd\u4e3a\u7cfb\u7edf\u642d\u5efa\u51fa\u9ad8\u6548\u4e14\u53ef\u7ef4\u62a4\u7684\u65e5\u5fd7\u4f53\u7cfb\u3002<\/p>\n<h2>\u4e8c\u3001\u65e5\u5fd7\u7ea7\u522b\u7684\u5212\u5206\u4e0e\u5e94\u7528<\/h2>\n<p>\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u4e0e\u5206\u6790\uff0c\u65e5\u5fd7\u9700\u8981\u6839\u636e\u91cd\u8981\u7a0b\u5ea6\u5206\u4e3a\u4e0d\u540c\u7ea7\u522b\uff0c\u5e38\u89c1\u7684\u5212\u5206\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"left\">\u65e5\u5fd7\u7ea7\u522b<\/th>\n<th align=\"left\">\u6982\u5ff5<\/th>\n<th align=\"left\">\u5904\u7406\u65b9\u5f0f<\/th>\n<th align=\"left\">\u793a\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">FATAL<\/td>\n<td align=\"left\">\u7cfb\u7edf\u65e0\u6cd5\u7ee7\u7eed\u8fd0\u884c\u7684\u81f4\u547d\u9519\u8bef<\/td>\n<td align=\"left\">\u9700\u7acb\u523b\u4fee\u590d<\/td>\n<td align=\"left\">\u65e0\u6cd5\u8fde\u63a5\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ERROR<\/td>\n<td align=\"left\">\u975e\u9884\u671f\u9519\u8bef<\/td>\n<td align=\"left\">\u5c3d\u5feb\u4fee\u590d<\/td>\n<td align=\"left\">\u90ae\u4ef6\u53d1\u9001\u5931\u8d25<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">WARN<\/td>\n<td align=\"left\">\u53ef\u63a5\u53d7\u4f46\u5b58\u5728\u5f02\u5e38\u7684\u60c5\u51b5<\/td>\n<td align=\"left\">\u5b9a\u671f\u4f18\u5316<\/td>\n<td align=\"left\">\u6570\u636e\u6e05\u7406\u63a5\u53e3\u5f02\u5e38<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">INFO<\/td>\n<td align=\"left\">\u666e\u901a\u64cd\u4f5c\u65e5\u5fd7<\/td>\n<td align=\"left\">\u65e0\u9700\u4fee\u590d<\/td>\n<td align=\"left\">\u8bf7\u6c42\u5f00\u59cb\u4e0e\u7ed3\u675f\u901a\u77e5<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">DEBUG<\/td>\n<td align=\"left\">\u8c03\u8bd5\u4fe1\u606f<\/td>\n<td align=\"left\">\u4e0d\u5728\u751f\u4ea7\u73af\u5883\u8f93\u51fa<\/td>\n<td align=\"left\">\u51fd\u6570\u5185\u90e8\u72b6\u6001\u4fe1\u606f<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">TRACE<\/td>\n<td align=\"left\">\u66f4\u8be6\u7ec6\u7684\u8c03\u8bd5\u4fe1\u606f<\/td>\n<td align=\"left\">\u4ec5\u9650\u5f00\u53d1\u6216\u6d4b\u8bd5\u73af\u5883<\/td>\n<td align=\"left\">SQL \u6267\u884c\u660e\u7ec6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6b63\u786e\u5730\u8bbe\u7f6e\u548c\u4f7f\u7528\u65e5\u5fd7\u7ea7\u522b\uff0c\u80fd\u591f\u5927\u5927\u63d0\u5347\u6545\u969c\u6392\u67e5\u6548\u7387\uff0c\u907f\u514d\u4fe1\u606f\u8fc7\u8f7d\u3002<\/p>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u9999\u6e2f\u4e91\u670d\u52a1\u5668\uff0c\u914d\u5408\u5408\u7406\u7684\u65e5\u5fd7\u7ea7\u522b\u5212\u5206\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u63d0\u5347\u76d1\u63a7\u7cbe\u51c6\u5ea6\uff0c\u8fd8\u80fd\u8282\u7701\u5b58\u50a8\u6210\u672c\uff0c\u8fdb\u4e00\u6b65\u4f18\u5316\u6574\u4f53\u8fd0\u7ef4\u6548\u7387\u3002<\/p>\n<h2>\u4e09\u3001\u4e0d\u540c\u7c7b\u578b\u7684\u65e5\u5fd7\u8bb0\u5f55\u6848\u4f8b<\/h2>\n<p>\u6839\u636e\u4e0d\u540c\u7684\u4e1a\u52a1\u9700\u6c42\uff0c\u65e5\u5fd7\u901a\u5e38\u5206\u4e3a\u4ee5\u4e0b\u51e0\u7c7b\uff0c\u6bcf\u79cd\u65e5\u5fd7\u5728\u8bb0\u5f55\u65f6\u9700\u660e\u786e\u516d\u4e2a\u57fa\u672c\u8981\u7d20\uff08Why\u3001Who\u3001When\u3001Where\u3001What\u3001How\uff09\uff1a<\/p>\n<h3>1. \u7cfb\u7edf\u65e5\u5fd7\uff08System Log\uff09<\/h3>\n<ul>\n<li><strong>Why<\/strong>\uff1a\u7528\u4e8e\u8c03\u8bd5\u7cfb\u7edf\u5185\u90e8\u9519\u8bef\u3002<\/li>\n<li><strong>Who<\/strong>\uff1a\u7cfb\u7edf\u81ea\u8eab\u8f93\u51fa\u3002<\/li>\n<li><strong>When<\/strong>\uff1a\u9519\u8bef\u53d1\u751f\u65f6\u3002<\/li>\n<li><strong>Where<\/strong>\uff1aFATAL\/ERROR\u901a\u8fc7\u63a8\u9001\u5230\u5f00\u53d1\u901a\u77e5\uff0cWARN\/INFO\u8bb0\u5f55\u81f3\u65e5\u5fd7\u7cfb\u7edf\u3002<\/li>\n<li><strong>What<\/strong>\uff1a\u5305\u542b\u5806\u6808\u8ddf\u8e2a\u3001\u9519\u8bef\u63cf\u8ff0\u3002<\/li>\n<li><strong>How<\/strong>\uff1a\u7ed3\u5408\u65e5\u5fd7\u7cfb\u7edf\u4e0e\u6d88\u606f\u63a8\u9001\u5e73\u53f0\uff0c\u5982Slack\u3001\u77ed\u4fe1\u7b49\u3002<\/li>\n<\/ul>\n<h3>2. \u8bbf\u95ee\u65e5\u5fd7\uff08Access Log\uff09<\/h3>\n<ul>\n<li><strong>Why<\/strong>\uff1a\u8ddf\u8e2aHTTP\u8bf7\u6c42\u4e0e\u54cd\u5e94\u3002<\/li>\n<li><strong>Who<\/strong>\uff1a\u5e94\u7528\u7a0b\u5e8f\u6216\u4e2d\u95f4\u4ef6\u81ea\u52a8\u751f\u6210\u3002<\/li>\n<li><strong>When<\/strong>\uff1a\u8bf7\u6c42\u6216\u54cd\u5e94\u65f6\u8bb0\u5f55\u3002<\/li>\n<li><strong>Where<\/strong>\uff1aINFO\u7ea7\u522b\uff0c\u4fdd\u5b58\u81f3\u65e5\u5fd7\u7cfb\u7edf\u3002<\/li>\n<li><strong>What<\/strong>\uff1a\u8bf7\u6c42\u8def\u5f84\u3001\u8bf7\u6c42\u53c2\u6570\u3001\u54cd\u5e94\u72b6\u6001\u7801\u3002<\/li>\n<li><strong>How<\/strong>\uff1a\u7edf\u4e00\u683c\u5f0f\u8f93\u51fa\uff0c\u4fbf\u4e8e\u68c0\u7d22\u4e0e\u7edf\u8ba1\u3002<\/li>\n<\/ul>\n<h3>3. \u64cd\u4f5c\u65e5\u5fd7\uff08Action Log\uff09<\/h3>\n<ul>\n<li><strong>Why<\/strong>\uff1a\u5206\u6790\u7528\u6237\u884c\u4e3a\uff0c\u4f18\u5316\u7cfb\u7edf\u4f53\u9a8c\u3002<\/li>\n<li><strong>Who<\/strong>\uff1a\u4e1a\u52a1\u6a21\u5757\u6216\u524d\u7aef\u7cfb\u7edf\u3002<\/li>\n<li><strong>When<\/strong>\uff1a\u7528\u6237\u64cd\u4f5c\u53d1\u751f\u65f6\u3002<\/li>\n<li><strong>Where<\/strong>\uff1a\u53d1\u9001\u81f3\u65e5\u5fd7\u5206\u6790\u5e73\u53f0\uff08\u5982BigQuery\uff09\u3002<\/li>\n<li><strong>What<\/strong>\uff1a\u64cd\u4f5c\u5bf9\u8c61\u3001\u64cd\u4f5c\u5185\u5bb9\u3001\u64cd\u4f5c\u65f6\u95f4\u3002<\/li>\n<li><strong>How<\/strong>\uff1a\u7edf\u4e00\u7ed3\u6784\u5316\u6570\u636e\u683c\u5f0f\u8f93\u51fa\u3002<\/li>\n<\/ul>\n<h3>4. \u8ba4\u8bc1\u65e5\u5fd7\uff08Auth Log\uff09<\/h3>\n<ul>\n<li><strong>Why<\/strong>\uff1a\u8bb0\u5f55\u7528\u6237\u767b\u5f55\u4e0e\u8eab\u4efd\u9a8c\u8bc1\u4fe1\u606f\u3002<\/li>\n<li><strong>Who<\/strong>\uff1a\u8ba4\u8bc1\u6a21\u5757\u3002<\/li>\n<li><strong>When<\/strong>\uff1a\u7528\u6237\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u65f6\u3002<\/li>\n<li><strong>Where<\/strong>\uff1aINFO\u7ea7\u522b\u8bb0\u5f55\u3002<\/li>\n<li><strong>What<\/strong>\uff1a\u7528\u6237ID\u3001\u767b\u5f55\u65f6\u95f4\u3001\u8ba4\u8bc1\u65b9\u5f0f\u3002<\/li>\n<li><strong>How<\/strong>\uff1a\u5b89\u5168\u5b58\u50a8\uff0c\u9632\u6b62\u654f\u611f\u4fe1\u606f\u6cc4\u9732\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u5408\u7406\u5206\u7c7b\u8bb0\u5f55\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u9999\u6e2f\u72ec\u7acb\u670d\u52a1\u5668\u73af\u5883\u4e2d\u8f7b\u677e\u5e94\u5bf9\u6d77\u91cf\u65e5\u5fd7\u6570\u636e\uff0c\u5b9e\u73b0\u7cbe\u51c6\u5feb\u901f\u7684\u68c0\u7d22\u4e0e\u5206\u6790\u3002<\/p>\n<h2>\u56db\u3001\u5b9e\u6218\u6848\u4f8b\uff1a\u4f7f\u7528 Log4js \u642d\u5efa\u65e5\u5fd7\u7cfb\u7edf<\/h2>\n<h3>1. \u9009\u62e9\u65e5\u5fd7\u5e93<\/h3>\n<p>\u5728Node.js\u9879\u76ee\u4e2d\uff0cLog4js \u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u6269\u5c55\u7684\u65e5\u5fd7\u5e93\uff0c\u652f\u6301\u591a\u7ea7\u522b\u65e5\u5fd7\u8bb0\u5f55\uff0c\u975e\u5e38\u9002\u5408\u6784\u5efa\u7ed3\u6784\u5316\u65e5\u5fd7\u4f53\u7cfb\u3002<\/p>\n<h3>2. \u5b9a\u4e49 Logger \u7c7b<\/h3>\n<p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff08\u9075\u5faaWordPress\u4ee3\u7801\u89c4\u8303\uff0c\u672a\u6dfb\u52a0\u5916\u94fe\uff09\uff1a<\/p>\n<pre><code class=\"language-typescript\">import * as log4js from 'log4js';\r\n\r\nclass Logger {\r\n  public system = log4js.getLogger('system');\r\n  public api = log4js.getLogger('api');\r\n  public access_req = log4js.getLogger('access_req');\r\n  public access_res = log4js.getLogger('access_res');\r\n  public sql = log4js.getLogger('sql');\r\n  public auth = log4js.getLogger('auth');\r\n\r\n  public fatal = log4js.getLogger('fatal');\r\n  public error = log4js.getLogger('error');\r\n  public warn = log4js.getLogger('warn');\r\n  public info = log4js.getLogger('info');\r\n  public debug = log4js.getLogger('debug');\r\n  public trace = log4js.getLogger('trace');\r\n\r\n  constructor() {\r\n    log4js.configure(loggerConfig);\r\n    this.setLogLevels();\r\n  }\r\n\r\n  private setLogLevels() {\r\n    this.fatal.level = log4js.levels.FATAL;\r\n    this.error.level = log4js.levels.ERROR;\r\n    this.warn.level = log4js.levels.WARN;\r\n    this.info.level = log4js.levels.INFO;\r\n    this.debug.level = log4js.levels.DEBUG;\r\n    this.trace.level = log4js.levels.TRACE;\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u8be5\u7c7b\u5c01\u88c5\u4e86\u7cfb\u7edf\u5e38\u89c1\u7684\u65e5\u5fd7\u7c7b\u578b\u4e0e\u7ea7\u522b\uff0c\u4fbf\u4e8e\u7edf\u4e00\u7ba1\u7406\u548c\u8c03\u7528\u3002<\/p>\n<h3>3. \u5e94\u7528 Logger \u5230\u9879\u76ee\u4e2d<\/h3>\n<p>\u7ed3\u5408\u6846\u67b6\uff08\u5982 NestJS\uff09\u7684\u62e6\u622a\u5668\uff08Interceptor\uff09\u529f\u80fd\uff0c\u80fd\u591f\u65e0\u4fb5\u5165\u5730\u6355\u83b7\u8bf7\u6c42\u548c\u54cd\u5e94\u65e5\u5fd7\uff1a<\/p>\n<pre><code class=\"language-typescript\">export class LoggerInterceptor implements NestInterceptor {\r\n  intercept(context: ExecutionContext, next: CallHandler): Observable&lt;any&gt; {\r\n    const request = context.switchToHttp().getRequest();\r\n    requestLogger(request);\r\n\r\n    const response = context.switchToHttp().getResponse();\r\n\r\n    return next.handle().pipe(\r\n      map((data) =&gt; {\r\n        responseLogger({ requestId: request._id, response, data });\r\n        return data;\r\n      }),\r\n      tap({\r\n        error: (exception: any) =&gt; {\r\n          responseErrorLogger({ requestId: request._id, exception });\r\n        }\r\n      })\r\n    );\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u914d\u5408<code>requestLogger<\/code>\u3001<code>responseLogger<\/code>\u548c<code>responseErrorLogger<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5168\u94fe\u8def\u65e5\u5fd7\u8ffd\u8e2a\uff0c\u6781\u5927\u63d0\u5347\u6545\u969c\u5b9a\u4f4d\u6548\u7387\u3002<\/p>\n<h2>\u4e94\u3001\u7ed3\u8bed<\/h2>\n<p>\u4e00\u4e2a\u79d1\u5b66\u3001\u5b8c\u5584\u7684\u65e5\u5fd7\u7cfb\u7edf\uff0c\u662f\u6bcf\u4e00\u4e2a\u73b0\u4ee3\u5e94\u7528\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u65e0\u8bba\u662f\u8c03\u8bd5\u5f00\u53d1\u4e2d\u7684\u5c0f\u95ee\u9898\uff0c\u8fd8\u662f\u5e94\u5bf9\u5927\u89c4\u6a21\u4e1a\u52a1\u7cfb\u7edf\u7684\u9ad8\u5e76\u53d1\u6311\u6218\uff0c\u65e5\u5fd7\u90fd\u662f\u5f00\u53d1\u8005\u548c\u8fd0\u7ef4\u4eba\u5458\u6700\u6709\u529b\u7684\u5de5\u5177\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u4f18\u79c0\u7684<a href=\"https:\/\/server.hk\/\">\u670d\u52a1\u5668<\/a>\u57fa\u7840\u8bbe\u65bd\u4e5f\u662f\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u884c\u7684\u4fdd\u969c\u3002\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u9ad8\u53ef\u9760\u6027\u3001\u6781\u901f\u8fde\u63a5\u3001\u4f4e\u5ef6\u8fdf\u7684\u670d\u52a1\u5668\uff0c\u6b22\u8fce\u9009\u62e9\u6211\u4eec\u3002\u6211\u4eec\u63d0\u4f9b\u4e13\u4e1a\u7684<strong>\u9999\u6e2fVPS<\/strong>\u3001<strong>\u9999\u6e2f\u4e91\u670d\u52a1\u5668<\/strong>\u3001<strong>\u9999\u6e2f\u72ec\u7acb\u670d\u52a1\u5668<\/strong>\u65b9\u6848\uff0c\u52a9\u529b\u60a8\u7684\u4e1a\u52a1\u5168\u7403\u52a0\u901f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u65e5\u5fd7\u7cfb\u7edf\u7684\u6838\u5fc3\u95ee\u9898 \u5728\u8bbe\u8ba1\u65e5&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-198961","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/198961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=198961"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/198961\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=198961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=198961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=198961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}