Skip to content

Commit 30ad699

Browse files
Christopher TateAndroid (Google) Code Review
authored andcommitted
Merge "Tweak docs on 'adb logcat'" into ics-mr1
2 parents 12d9954 + 1df51c6 commit 30ad699

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

docs/html/guide/developing/debugging/debugging-log.jd

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,19 +221,20 @@ export ANDROID_LOG_TAGS="ActivityManager:I MyApp:D *:S"
221221
below.</p>
222222

223223
<ul>
224-
<li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default
225-
format).</li>
224+
<li><code>brief</code> &mdash; Display priority/tag and PID of the process issuing the
225+
message (the default format).</li>
226226

227227
<li><code>process</code> &mdash; Display PID only.</li>
228228

229229
<li><code>tag</code> &mdash; Display the priority/tag only.</li>
230230

231-
<li><code>thread</code> &mdash; Display process:thread and priority/tag only.</li>
232-
233231
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
234232

235233
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the
236-
originating process.</li>
234+
process issuing the message.</li>
235+
236+
<li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and
237+
the PID and TID of the thread issuing the message.</li>
237238

238239
<li><code>long</code> &mdash; Display all metadata fields and separate messages with blank
239240
lines.</li>
@@ -304,4 +305,4 @@ $ adb shell start
304305
<p>
305306
If you're developing a web application for Android, you can debug your JavaScript using the console JavaScript APIs,
306307
which output messages to LogCat. For more information, see
307-
<a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p>
308+
<a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p>

docs/html/guide/developing/tools/adb.jd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,12 @@ of each message, given as <code>&lt;priority&gt;/&lt;tag&gt;</code>. </p>
546546
<p>Log messages contain a number of metadata fields, in addition to the tag and priority. You can modify the output format for messages so that they display a specific metadata field. To do so, you use the <code>-v</code> option and specify one of the supported output formats listed below. </p>
547547

548548
<ul>
549-
<li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default format).</li>
549+
<li><code>brief</code> &mdash; Display priority/tag and the PID of process issuing the message (the default format).</li>
550550
<li><code>process</code> &mdash; Display PID only.</li>
551551
<li><code>tag</code> &mdash; Display the priority/tag only. </li>
552-
<li><code>thread</code> &mdash; Display process:thread and priority/tag only. </li>
553552
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
554-
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the originating process.</li>
553+
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the process issuing the message.</li>
554+
<li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and the PID and TID of the thread issuing the message.</li>
555555
<li><code>long</code> &mdash; Display all metadata fields and separate messages with a blank lines.</li>
556556
</ul>
557557

0 commit comments

Comments
 (0)