0

I'm trying to log some debug stuff on an Android device using aLogCat. Apparently the number of lines the log can contain is limited, so after a test session I get a truncated logs (first messages are gone).

I don't know if this limitation is imposed by the system itself or by aLogCat, but I need to increase the limit.

I found related answers about logcat here and here, but they seem both about a device connected to a PC, while I need the increased log size in a field.

I know aLogCat provides an autosave option, but 15 minutes (which is the minimal available period) is too large for my use case, because the log buffer loops after several minutes of testing.

Community
  • 1
  • 1
Stan
  • 8,683
  • 9
  • 58
  • 102

1 Answers1

0

LogCat itself is a 64KB ring buffer. That cannot be increased except perhaps by building your own firmware.

If you are getting less than 64KB of history, that might be a limit imposed by aLogCat.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Unfortunately, the logs are usually something about 10Kb. I'd be happy to have 64Kb. All I can do by far is to split test sessions into smaller ones, which is inconvenient a little bit. – Stan May 31 '12 at 18:34