07-25-2018, 06:01 PM
The log might also be useful to you in determining what has gone wrong on a user's tablet.
However, simply renaming a previous log to .bak might not be much use as any problems in the initial log will be lost if the user has multiple attempts to get it to work.
Perhaps use the log file date creation time and, instead of simply renaming an existing log to .bak, delete any log files that are older than 5 days (say). This will retain any relevant info but still allow it to be automatically cleaned up at some point.
Geoff
However, simply renaming a previous log to .bak might not be much use as any problems in the initial log will be lost if the user has multiple attempts to get it to work.
Perhaps use the log file date creation time and, instead of simply renaming an existing log to .bak, delete any log files that are older than 5 days (say). This will retain any relevant info but still allow it to be automatically cleaned up at some point.
Geoff
Samsung Galaxy Tab A6