Android: adb logcat -c does not seem to flush the logs -
my understanding adb logcat -c flush log buffer. before start application, adb logcat -c. after launching application this:
adb logcat -d -s weatherservicesync:d
but, logs seem keep getting appended each time shown below
d/weatherservicesync( 1932): oncreate() - service created anew d/weatherservicesync( 1932): onbind() - client has invoked bindservice() d/weatherservicesync( 1932): onunbind() - client has invoked unbindservice() d/weatherservicesync( 1932): ondestroy() - service being shut down d/weatherservicesync( 1932): oncreate() - service created anew d/weatherservicesync( 1932): onbind() - client has invoked bindservice() d/weatherservicesync( 1932): onunbind() - client has invoked unbindservice() d/weatherservicesync( 1932): ondestroy() - service being shut down
as can see, set of lines oncreate ondestroy getting replicated.
is there can flush log buffer?
Comments
Post a Comment