小编Cha*_*ian的帖子

Openresty 自定义 json 访问日志

我想将每个请求的 JSON 字符串写入访问日志,以便以后使用它会更容易。

我正在使用 Lapis/Openresty 公开的 print(),但是我想覆盖时间戳、日志级别和其他作为 nginx 日志格式一部分的信息。

我怎样才能覆盖它?

customization json nginx access-log openresty

2
推荐指数
1
解决办法
1610
查看次数

标签 统计

access-log ×1

customization ×1

json ×1

nginx ×1

openresty ×1