BuildVision icon indicating copy to clipboard operation
BuildVision copied to clipboard

Massive 'extension.log' file in %localappdata%\BuildVision

Open nitz opened this issue 3 years ago • 2 comments

Hello!

My hard drive was getting close to full so I was cleaning up large files where I could. I found an 8.7 Gigabyte file: %localappdata%\BuildVision\extension.log.

It looks like it contains logs dating back to when I installed the extension (~10 May 2021) to current.

I definitely know the desire to keep logs, but a nearly 9 gigabyte file after 6-7 months of use for an extension is a bit excessive, I feel.

Perhaps this logging functionality could be optional and opt-in, or at the very least forced to be a more reasonable size?

Cheers

nitz avatar Dec 15 '21 13:12 nitz

Is it possible to delete the file without any unintended consequences? tia

andrei2popa avatar Sep 05 '23 11:09 andrei2popa

Hi folks,

@andrei2popa yep it is absolutely possible to delete it. The .log file only contains log data.

@nitz actually growing that file that large is really not intended. I basically didn't think about the fact that it could get that large. Keeping those logs for such a long time doesn't make any sense, especially since most of the log is informational only. I will check how others are solving that and try to integrate a cleanup mechanism in a future version of BuildVision. Thanks :)

StefanKert avatar May 03 '24 15:05 StefanKert