In Yarn 2 I am using logFilters
to hide some logs. This works for warnings, but I would like to hide the default messages, such as Resolution step
etc as well. Except for Done
.
How can I achieve that? Please find my .yarnrc.yml
code below:
logFilters:
- code: "YN0002"
level: discard
- code: "YN0060"
level: discard
- text: "Resolution step"
level: discard
- text: "Fetch step"
level: discard
- text: "Link step"
level: discard
- pattern: "*Completed in *"
level: discard
Few years later and with yarn 4.1.1 and https://yarnpkg.com/configuration/yarnrc#logFilters still documented, I am having the same dilemma.
Apparently, no filtering is happening at all.