CycloneDX / CycloneDX/cyclonedx-webpack-plugin
Option to Suppress or Control Log Output (e.g., "skipped Component from PkgPath")
- Dominant language
- TypeScript
- Stars
- 30
- Forks
- 11
- Avg merge
- 16m
- Merged PRs (30d)
- 1
Description
## Is your feature request related to a problem? Please describe.
I'm using `@cyclonedx/webpack-plugin` in a CI/CD pipeline, and it outputs log lines like:
```
skipped Component from PkgPath /home/vsts/work/1/s/modules/techem-portal-frontend-loader/package.json
```
These logs appear when components are skipped—usually due to missing metadata in `package.json`. While helpful for debugging, they create noise in CI logs and currently cannot be suppressed. Webpack's `ignoreWarnings` does not apply, as the messages come from the plugin itself.
## Describe the solution you'd like
It would be great to have a way to control or suppress this logging output—e.g., via a `logLevel`, `quiet` mode, or a flag to skip "skipped component" messages specifically. This would allow cleaner output in automated environments.
## Describe alternatives you've considered
- Using `grep -v` or similar in shell scripts to filter the logs (works, but feels like a workaround).
- Forking/patching the plugin to remove or control this specific log output.
- Ignoring the logs entirely (not ideal in shared CI logs).
## Additional context
This request is focused specifically on the log messages about skipped components. Other output from the plugin is fine or helpful.
## Contribution
- [ ] I am willing to provide an implementation
- [x] I will wait until somebody else implements it
Contributor guide
Assessment
This issue has not been assessed yet.