Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Issue 2736883002: Use CHROME_LOG_FILE environment variable for headless chrome logging (Closed)

Created:
3 years, 9 months ago by irisu
Modified:
3 years, 9 months ago
Reviewers:
Sami
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use CHROME_LOG_FILE environment variable for headless chrome logging. Chromedriver/Selenium expects to be able to set the log file using the CHROME_LOG_FILE environment variable. BUG=698095 Review-Url: https://codereview.chromium.org/2736883002 Cr-Commit-Position: refs/heads/master@{#455625} Committed: https://chromium.googlesource.com/chromium/src/+/ea2f917390a886772e5252da913d7998a60bba69

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M headless/lib/headless_content_main_delegate.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
irisu
Hi Sami, I've modified the headless chrome InitLogging to use the CHROME_LOG_FILE environment variable because ...
3 years, 9 months ago (2017-03-07 23:47:47 UTC) #7
Sami
Thanks, I think it makes sense to support this here too. lgtm with two small ...
3 years, 9 months ago (2017-03-08 10:38:14 UTC) #8
irisu
https://codereview.chromium.org/2736883002/diff/1/headless/lib/headless_content_main_delegate.cc File headless/lib/headless_content_main_delegate.cc (right): https://codereview.chromium.org/2736883002/diff/1/headless/lib/headless_content_main_delegate.cc#newcode133 headless/lib/headless_content_main_delegate.cc:133: if (env->HasVar("CHROME_LOG_FILE") && On 2017/03/08 10:38:14, Sami wrote: > ...
3 years, 9 months ago (2017-03-08 23:56:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2736883002/20001
3 years, 9 months ago (2017-03-08 23:56:56 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 01:35:29 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ea2f917390a886772e5252da913d...

Powered by Google App Engine
This is Rietveld 408576698