geckodriver creates huge log files because of the conditioned profiles
Categories
(Testing :: Raptor, enhancement, P1)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: tarek, Assigned: tarek)
References
Details
Attachments
(1 file)
when the conditioned profile is passed to the browser though geckodriver, its done over the wire using a POST call.
all geckodriver calls are logged, so we're generating huge logs
[task 2020-04-13T14:16:12.525Z] 14:16:12 INFO - 1586787372520>.geckodriver>DEBUG>..Listening on 127.0.0.1:48257
[task 2020-04-13T14:16:12.529Z] 14:16:12 INFO - 1586787372526>.webdriver::server>..DEBUG>..-> GET /status
[task 2020-04-13T14:16:12.529Z] 14:16:12 INFO - 1586787372526>.webdriver::server>..DEBUG>..<- 200 OK {"value":{"message":"","ready":true}}
[task 2020-04-13T14:17:09.236Z] 14:17:08 INFO - 1586787374344>.webdriver::server>..DEBUG>..-> POST /session {"desiredCapabilities":{"browserName":"firefox","pageLoadStrategy":"none","moz:firefoxOptions":{"profile":"HUGE BASE 64 CONTENT HERE
We need to filter out those lines to avoid generating huge logs.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
A long term solution would be to have geckodriver restrict the log lines to a maximum size.
In the interim I think it's fine to deactivate tracing. This was used to debug BT in its early integration days, and it's not really used anymore.
I guess we can force TRACE explicitely if we need it/
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Deactivate tracing so we don't generate huge geckodriver logs
since BT transmits the profile through webdriver
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Note that for investigating test failures the Marionette trace log would have been great. Now it makes it way harder. Instead you should have set marionette.log.truncate=true
, which would have prevented the whole profile data to be printed to the log and would still give enough information to trace problems.
Comment 6•5 years ago
|
||
bugherder |
Description
•