📑 Shrink Logs

by Xur Nien

Version 2 (September 15, 2021)

Download (272 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.

▪️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.

▪️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

[Created By Xur Nien]

4.5 average rating from 8 reviews

5 stars
4 stars
3 stars
2 stars
1 star

Rate and review within the app in the Community section.