Tortel / SysLog

A tool to grab Android system and kernel logs
GNU General Public License v2.0
219 stars 75 forks source link

Automatically Take log #1

Open zskdan opened 11 years ago

zskdan commented 11 years ago

There is a way to automatically take logs and save them on sd-card ? I think it's a good feature to add.

Tortel commented 11 years ago

Something like scheduling it to pull logs next boot? Or something else?

davidcastellani commented 9 years ago

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.

8804645769 commented 7 years ago

Thanks

sfirebenny commented 2 years ago

Overall I'm interested in obtaining MSL 6-digit code that I have no clue

RokeJulianLockhart commented 3 months ago

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.

1. ```sh adb logcat -g ``` 1.
```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# ```