0

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.

enter image description here

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
Z0q
  • 1,689
  • 3
  • 28
  • 57
  • Are you using a version above 2.4 of Yarn? – Mohamed Chaawa Oct 26 '22 at 15:28
  • @MohamedChaawa I'm not sure. I am using Yarn 2, but when I run `yarn -v` it says `1.22.19`. I updated last week. And in my `package.json` I use `"packageManager": "yarn@3.2.4"` – Z0q Oct 27 '22 at 07:51

0 Answers0