openresty / openresty/lua-nginx-module

only part of errorInfo can be logged if it's too big

Open
#1,328 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

ngx.log(ngx.ERR, errorInfo);
only part of errorInfo can be logged if it's too big(my errorInfo is about :6KB)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ngx.log entry point and reproduce the issue using an errorInfo value of about 6 KB. Trace how the message is passed to logging and identify the existing size limit; done means the complete errorInfo can be logged and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua, nginx
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.