PowerToys
PowerToys copied to clipboard
Mouse Without Borders: Excessive Logging
Microsoft PowerToys version
0.89.0
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
Coincidentally, I noticed that MWB creates log files in three different locations:
- One log file per day named
Log_YYYY-MM-DD.txtin the folder~\AppData\Local\Microsoft\PowerToys\MouseWithoutBorders\Logs\0.89.0.0 - Another log file per day named
mouseWithoutBorders-log_YYYY-MM-DD.txtin the folder~\AppData\Local\Microsoft\PowerToys\MouseWithoutBorders\LogsModuleInterface - Several log files per day in the folder
C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\PowerToys\MouseWithoutBorders\Logs\0.89.0.0\
Also, there doesn't seem to be a process that cleans up these logs from time to time, so I had already collected several hundred of these files.
The files that I checked contained only INFO level messages, so it is questionable whether they should be logged by default anyway.
✔️ Expected Behavior
- MWB should write logs to only one folder (ideally not the
Windowssystem folder?) - MWB should have some cleanup process that removes logs periodically (e. g. logs older than 30 days are removed at startup?)
❌ Actual Behavior
No response
Other Software
No response
We should at least remove the ones from the old version first — yes, and also inspect the logs to see whether all of them are worth logging.