Open zskdan opened 11 years ago
Something like scheduling it to pull logs next boot? Or something else?
I am looking for this feature as well. I am trying to automate the collection of logs that would help kernel developers for my wifes phone. Her phone, HTC M7 GSM, will randomly reboot, and I am not able to collect the logs from reach reboot. If syslog could be made to automatically take each set of logs, compress and timestamp them, then do something. The something could be automatically save to dropbox, google drive, etc. or attach and send an email. This would be fantastic.
Thanks
Overall I'm interested in obtaining MSL 6-digit code that I have no clue
https://github.com/Tortel/SysLog/issues/1#issuecomment-25761236
@Tortel, Fairphone has informed me that logcat
keeps logs for approximately 4 hours on their devices, whereas https://stackoverflow.com/revisions/12243831/1 explains that it might be even shorter on AOSP. Consequently, I see use for this feature in automatically saving a log to an internal non-volatile storage device every time it would otherwise be discarded by the OS.
```log root@sayw4i:/home/RokeJulianLockhart# adb logcat -g main: ring buffer is 256 KiB (248 KiB consumed, 1 MiB readable), max entry is 5120 B, max payload is 4068 B system: ring buffer is 256 KiB (250 KiB consumed, 1 MiB readable), max entry is 5120 B, max payload is 4068 B crash: ring buffer is 256 KiB (64 KiB consumed, 38 KiB readable), max entry is 5120 B, max payload is 4068 B kernel: ring buffer is 256 KiB (0 B consumed, 0 B readable), max entry is 5120 B, max payload is 4068 B root@sayw4i:/home/RokeJulianLockhart# ```
There is a way to automatically take logs and save them on sd-card ? I think it's a good feature to add.