trezor / trezord-go

:smiling_imp: Trezor Communication Daemon (written in Go)
GNU Lesser General Public License v3.0
244 stars 146 forks source link

Verbose logging by default on windows #178

Closed daniel5gh closed 3 years ago

daniel5gh commented 4 years ago

On windows the the link c:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\TREZOR Bridge.lnk includes -v on its command line:

"C:\Program Files (x86)\TREZOR Bridge\trezord.exe" -v -l "%APPDATA%\TREZOR Bridge\trezord.log"

This leads to excessive logging, 20MB rotate every roughly 4 minutes. Regular end users won't need this level of logging by default. SSDs are pretty good nowadays, but some would argue this leads to unnecessary wear and tear.

bosomt commented 4 years ago

I can confirm that even with latest build log in Windows 10 is almost 1000x bigger than in Linux even there was no device connected and it's running for less than minute

bosomt commented 4 years ago

same behavior with 2.0.30 RC2 Windows 10MB+ KUbuntu less than 500kB

prusnak commented 3 years ago

Fixed in 90a0eefd08927f712e6cb4ae6133a2dbd47e1223