如何修改日志格式,增加从 header 中获取的信息
Open
- Dominant language
- PHP
- Stars
- 2.7k
- Forks
- 251
- PR merge metrics
- No merged PRs in 30d
Description
需求:
header 中存在请求 id,比如 qid 参数
要求所有该请求产生的日志中都能存在 qid 信息。
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file, test, or entry point. Start by locating request header handling and the logging path, then determine how a qid from the header can reach every log produced for that request. Done means logs from one request consistently include its qid, with behavior verified for requests that provide and omit the header.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100