Closed Bug 1614108 Opened 4 years ago Closed 4 years ago

Remote Agent has to truncate trace entries (log files of puppeteer >100MB)

Categories

(Remote Protocol :: Agent, defect)

defect
Not set
critical

Tracking

(firefox75 fixed)

RESOLVED FIXED
Firefox 75
Tracking Status
firefox75 --- fixed

People

(Reporter: whimboo, Assigned: impossibus)

Details

Attachments

(1 file)

There is a test in puppeteer unit tests that transfers 100MB of data (Array(100 * 1024 * 1024 + 1).join('a')) from CDP to node.js. Currently we print all the data to the console and which makes the log files >100MB in size.

https://firefoxci.taskcluster-artifacts.net/JPqg-9QxRfCg511AiyQDQg/0/public/logs/live_backing.log

We should add remote.log.truncate similar to Marionette and enable it by default to only print a certain amount of characters like: foo ... bar.

Assignee: nobody → mjzffr
Status: NEW → ASSIGNED
Attachment #9125651 - Attachment description: Bug 1614108 - Truncate Remote Agent log messages → Bug 1614108 - Truncate Remote Agent log messages; r=#remote
Pushed by mjzffr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ccff3d924dde
Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: