On Wednesday, 6 June 2012 18:55:34 UTC+2, Matt Kanninen wrote: > > > > On Tuesday, June 5, 2012 7:07:47 PM UTC-7, Tim in Boulder wrote: >> >> While we're at it, though, adding an API for "give me ONLY log messages >> related to my app" that doesn't need a permission at all would solve that >> problem completely, at least for me. I apply that filter to the log before >> sending it to me anyway. >> >> I second the motion. >
There's no need for the READ_LOGS permission to log only own app's logging. Make instead a wrapper for the log API, accumulating the n last log lines of your app in a rotating buffer. All my code do not use the Android logging API direclty but the java.util.logger API with an Android backend and a rotating buffer as expained above. Then on crash it is possible to send the last n lines as part of the crash with something like ACRA. And if some user ask for support and I need the full system log, I tell user to use aLogcat to send me system logs. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/android-discuss/-/CdsSBJfpFn4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
