logcat - Is there a way to get android "history" system log? -


i developing system log app users check device's log. know using logcat app can read system log in real-time, there way read "history" system log, 1 week? (our app may down during week)

updated:

i builder of custom android os, based on aosp. system log app running in os only. have ability develop drivers, framework layer , system apps besides normal apps.

if normal app cannot accomplish task, how developing driver additionally? know there driver module named "logger" in kernel, in charge of logging. maybe can add code "logger" , let dump logs files: log_20140629.txt, log_20140630.txt , on. every file contains log in whole day. app read these files. idea possible?

we know using logcat app can read system log in real-time

only on devices running android 4.1 , lower, or possibly on rooted devices. android apps on android 4.2+ cannot hold read_logs permission.

but there way read "history" system log, 1 week?

i have no idea "'history' system log" is. if mean "the system log's history", logcat exists ring buffer. buffer used 64kb long time ago, , not know if increased size. on many production devices, hold minutes hours of history, not days.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -