Closed GoogleCodeExporter closed 9 years ago
on second look this isn't so clear. -r requires -f, and -f requires a file name
where to log the file. i don't want to log to a new file. so maybe my
understanding of logcat is wrong.
it looks like logcat is just a wrapper around /dev/log/*. so the "buffer" is
completely managed by me. i could have something like "start /stop buffering
to file", but i'd have to be careful about storing the PID so it could be
stopped again.
Original comment by jeffrey.blattman@gmail.com
on 14 Jun 2010 at 10:54
Original comment by jeffrey.blattman@gmail.com
on 24 Sep 2010 at 3:20
marking this will not fix. there's no obvious way to do this. the /dev/log
device has a fixed window size and i do not see where or how to increase that.
logcat could keep a larger history that this (sacrificing performance), but
that would last only as long as it was running in the foreground. the next time
it started, it would only have the /dev/log window entries.
as a workaround, version 2.0 has "periodic save", so you can capture the
/dev/log window at a configurable interval.
Original comment by jeffrey.blattman@gmail.com
on 17 Oct 2010 at 11:00
Original issue reported on code.google.com by
jeffrey.blattman@gmail.com
on 14 Jun 2010 at 10:26