Hide username in logs
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 766
- Forks
- 51
- Avg merge
- 16d 14h
- Merged PRs (30d)
- 1
Description
Many people in the #support channel of thcrap don't like to have their username seen. They'll often edit their screenshots to hide their username in the file explorer. I'm guessing their username is either their first name, their last name, or both, and not spreading those everywhere can be a good idea.
But that username is also in the thcrap log file, which we often ask for in #support. In order to help these people, we should hide the username in the log files. It's not like we need the username, seeing a path like C:\Users\%USERNAME%\Downloads\thcrap\thcrap_loader.exe en.js th06 is just as useful for us.
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
The issue does not identify the log-generation files or tests. Start by locating where thcrap writes paths to its log files and inspect any existing logging tests or reproduction steps. Done means usernames are replaced in logged paths while the paths remain useful for support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- security, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100