openresty / openresty/lua-resty-core

undocumented that errlog.set_filter_level can not be set lower than error_log level

Open
#436 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
853
Forks
286
Avg merge
35m
Merged PRs (30d)
1

Description

nginx version: openresty/1.21.4.1

if error_log is set to error, executing errlog.set_filter_level(ngx.WARN) will not make WARNING messages appear in logbuffer.

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 by locating the documentation for errlog.set_filter_level and the error_log/logbuffer behavior described in the issue. Verify how a filter level of ngx.WARN behaves when error_log is set to error, then document the constraint and expected warning-message behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
observability
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.