我想将每个请求的 JSON 字符串写入访问日志,以便以后使用它会更容易。
我正在使用 Lapis/Openresty 公开的 print(),但是我想覆盖时间戳、日志级别和其他作为 nginx 日志格式一部分的信息。
我怎样才能覆盖它?
customization json nginx access-log openresty
access-log ×1
customization ×1
json ×1
nginx ×1
openresty ×1