Log4j has a BurstFilter to throttle log rates. It would be great to have this feature available in log4js.
Contributor guide
Tech stack
javascriptnodejs
Domain
backend
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-2 days
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Knowledge of log4js filtersUnderstanding of rate limiting
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
60
Research direction
Start by examining the existing filter classes in lib/filters.js to understand the pattern. Then look up Log4j's BurstFilter documentation to understand the rate limiting logic. The new filter should extend the base filter class and implement a token bucket or sliding window algorithm.
Implement BurstFilter · log4js-node/log4js-node#694 | Good First Issue