Auto Clear Logs Files
BrenoFariasdaSilva opened this issue · 5 comments
I just realized i had +5gb of usage on the logs folder.
With that in mind, considering that i have the Twitch Drops in backup to my Google Drive's account, it is using lots of space.
It ain't a big deal. I could just remind myself of cleaning logs folder, but it would be cool if it did regularly by itself (like on script start it deleted old profile logs).
5gb 😱
I use the script 24/24h, and I've only 1gb
anyway, you can always disable the logs
logger_settings=LoggerSettings(save=False)
We need the logs only for debugging special issue
Perhaps as a suggestion for Log Rotation:
Loguru allows for both rotation and retention, as well as compression. Maybe that's worth a shot to configure automatic removal of older/bigger log files.
b874d95 bad change. I'm using logs for gathering data. Almost screwed all my collected logs. Should be manually activated.