Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Clear Logs Files #215

Closed
BrenoFariasdaSilva opened this issue Jun 21, 2021 · 5 comments
Closed

Auto Clear Logs Files #215

BrenoFariasdaSilva opened this issue Jun 21, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@BrenoFariasdaSilva
Copy link

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).

@BrenoFariasdaSilva BrenoFariasdaSilva added the enhancement New feature or request label Jun 21, 2021
@Tkd-Alex
Copy link
Owner

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

@ColinShark
Copy link
Contributor

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.

@1v
Copy link
Contributor

1v commented Oct 11, 2021

b874d95 bad change. I'm using logs for gathering data. Almost screwed all my collected logs. Should be manually activated.

@Tkd-Alex
Copy link
Owner

b874d95 bad change. I'm using logs for gathering data. Almost screwed all my collected logs. Should be manually activated.

181d036

@1v
Copy link
Contributor

1v commented Oct 12, 2021

181d036

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants