📝 Reduce Large Automate Logs

by Pete Glass

Version 4 (February 24, 2018)

Download (83 downloads)

Flow runs once a day and reduces all automate logs over 7.5 megabytes by removing the oldest 50,000 lines in the files to prevent the large log file warning from appearing in automate when a log file reaches the limit specified in the automate settings. Intended for a 10 MB log file size specified in the automate settings but the shell blocks can be modified to work with any size of log files and can remove however many lines specified in the flow. Root is required.

Note: Requires BusyBox for the find and sed commands.
https://play.google.com/store/apps/details?id=stericson.busybox

* * * Created by Pete Glass * * *

5.0 average rating from 1 reviews

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

Reviews and ratings can be submitted in the app.