📑 Shrink Logs

by Xur Nien

Version 2 (April 30, 2019)

Download (92 downloads)

This flow was created by Andrew McAuley and Edited by me...

Ever find logs useful? Don't want to delete it but still find yourself scrolling through endless pages of greyed out INFO entries?

I may just have the tool for you. Rather than clear the entire log, this tool reads each line of the log checks if it's a discardable INFO log, and keeps the rest.

Requires
▪️Permission to read and modify SD card (purely just for the logs)

How To Use
▪️Download the flow
▪️...and whenever you need easier logs to read
▪️Click "Run"
▪️Pour yourself a cuppa tea and watch the progress in your notifications
▪️...and if that's not enough, you can even geek out to saved space stats in the log - phewee.

Changelog
▪️2018-08-29: Added a delay before each file read/write as per Cook IT's suggestion. It shouldn't cause a substantial slowdown, but will hopefully that will resolve any "hang" time.
▪️2018-08-30: After testing, added a more robust fix for "hang" time. Now hands control back to Automate every 50 lines or so to ensure no freezing occurs.
▪️2018-08-30: Now uses 2-3 times less memory, should be much snappier
▪️2018-09-11: Now shows its progress as cleans your logs as a notification.

📝 Edits 📝

▪️2019-04-04: Added a pick flow option for only clearing selected logs and an input dialogue for changing the type of log to clear! :D

Original flow: http://llamalab.com/automate/community/flows/23924

Help from: http://llamalab.com/automate/community/flows/20066

5.0 average rating from 4 reviews

5 stars
4
4 stars
0
3 stars
0
2 stars
0
1 star
0
Warnings
0

Reviews and ratings can be submitted in the app.