mendhak / mendhak/docker-http-https-echo

Option to restrict logging further

未关闭
#80 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
792
派生
152
平均合并
3 天 18 小时
30 天内合并 PR
3

描述

Hi,

it would be nice if there was an option to restrict logging further:

  • either completely deactivate logging
  • specify more than one path with LOG_IGNORE_PATH

The latter could be implemented by doing a regex match instead of a string comparison.

Without requests being logged, one could assure that no personal or secret data gets leaked.

Cheers
Volker

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在仓库中定位 LOG_IGNORE_PATH 和请求日志记录入口。确定当前日志记录的过滤方式,然后将完成条件定义为支持禁用日志记录和多个忽略路径,同时防止记录被排除的请求;issue 中未指定测试或文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, shell
领域
backend, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。