microsoft / microsoft/SysinternalsEBPF
Unconditional printing to stderr
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 288
- Forks
- 38
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
The library unconditionally prints to stderr, which can be problematic for consumption. If you have a TUI for instance, this can corrupt the TUI output if the user doesn't redirect stderr.
You can work around this by using dup2 to point stderr at /dev/null, but it would be nice if the library used some kind of logging library or put fprintf(stderr...) behind a config flag.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in telemetryLoader.c around line 1426 and trace how the library currently reports this message to stderr. Review nearby logging behavior and any existing configuration entry points, then verify that consumers can suppress or redirect the diagnostic without corrupting normal output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100