Mouse without borders generated a 180 GB log file
Microsoft PowerToys version
0.80.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
I have Mouse Without Borders always running but since I had to send my screen for repairs I am using my laptop as a screen with a program called Spacedesk Driver and Spacedesk Viewer, my idea is that there is a problem with Mouse Without Borders where it detects there's a problem and creates a log, this log is always growing in size, I have deleted the file since I have no way to send it and I need some space.
✔️ Expected Behavior
Not generating a 180 GB log file
❌ Actual Behavior
Generated a 180 GB log file
Other Software
spacedesk DRIVER v2.1.16 spacedesk VIEWER 0.0.33.0
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Mousewithoutboarders produced an unexpected very large log file (#30220), similarity score: 0.85
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
@OuranicRafflesia That looks quite problematic; I'll look into fixing that.
It would be very useful for us to know what's repeatedly getting logged. The next time this happens, could you get a snippet of the log before deleting it? The PowerShell command below will help with that it - it extracts the last 1000 lines of the log (you'll need to change the path to the log file).
Get-content -tail 1000 $env:localappdata/Microsoft/PowerToys/MouseWithoutBorders/Logs/0.81.0.0/Log_2024-05-22.txt
@OuranicRafflesia That looks quite problematic; I'll look into fixing that.
It would be very useful for us to know what's repeatedly getting logged. The next time this happens, could you get a snippet of the log before deleting it? The PowerShell command below will help with that it - it extracts the last 1000 lines of the log (you'll need to change the path to the log file).
Get-content -tail 1000 $env:localappdata/Microsoft/PowerToys/MouseWithoutBorders/Logs/0.81.0.0/Log_2024-05-22.txt
Possible duplicate of https://github.com/microsoft/PowerToys/issues/30220
I posted the details you wanted over there. Happy hunting!