
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
pino-filter
Advanced tools
pino-filter is a transport for Pino that allows filtering of log lines based on logger names, similar to the functionality of filters in the debug module.
Logs that match any filters are written to stdout. By default, pino-filter
will pass through all received logs at the info level or higher. To define
filters, a configuration file must be supplied that provides a mapping of
filters to log levels. For example, you can supply a simple JSON file:
{
"levels": {
"*": "info",
"foo:bar": "debug",
"baz:*": "trace"
}
}
$ node the-app.js | pino-filter ./config.json
module.exports = {
levels: {
'*': 'info', // catch-all filter
'foo:bar': 'debug',
'baz:*': 'trace'
},
values: {
fatal: 60,
error: 50,
warn: 40,
info: 30,
debug: 20,
trace: 10
}
}
levels: a mapping of filters (keys) to log levels (level names). Note:
the wildcard * may only be used at the end of a filter, e.g. foo:* is valid
but foo:*:bar is not.values: a mapping of level names to their numeric value. The default is
set to the standard Pino levels. If custom levels are defined in the application,
those level values should be defined here.Note: the configuration file can be reloaded at runtime by sending the
SIGHUP signal to the pino-filter process.
FAQs
A transport for Pino to filter logs based on logger names
The npm package pino-filter receives a total of 786 weekly downloads. As such, pino-filter popularity was classified as not popular.
We found that pino-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.