Closed Bug 738766 Opened 12 years ago Closed 12 years ago

The 'log' command should dump to logcat

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla14

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Attachments

(1 file)

Currently, it doesn't, it only gets reported by the testrunner at the end of a test.  However, if there's a hard timeout (because the request from the client never returns), any log data is lost.

We should make log() dump to logcat, so there's always a way to see the logged messages, and in real-time.
Attached patch patchSplinter Review
This patch causes log() to also dump(), which lets the info appear in logcat for B2G.
Attachment #609863 - Flags: review?(mdas)
Comment on attachment 609863 [details] [diff] [review]
patch

Review of attachment 609863 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good. Not sure if we should provide a way to shut off dumping, but we'll hit that hurdle if it's required.
Attachment #609863 - Flags: review?(mdas) → review+
https://hg.mozilla.org/mozilla-central/rev/493df387aa36
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: