diff options
author | mtklein <mtklein@chromium.org> | 2016-03-17 12:53:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 12:53:36 -0700 |
commit | a483da395a4f3b82073057420ac1318d2c7f3f95 (patch) | |
tree | 780bfcb09d019402f0f7701a7b9892b5f2fa6e28 /dm | |
parent | 9e3f1bf4e5cd8fc59554f986f36d6b034e99f9eb (diff) |
DM: make --verbose send the vlog to stderr.
See if this works out for you?
I've just turned off --verbose on the bots, so this ought to be safe now.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1808203004
Review URL: https://codereview.chromium.org/1808203004
Diffstat (limited to 'dm')
-rw-r--r-- | dm/DM.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1311,7 +1311,9 @@ int dm_main(); int dm_main() { setup_crash_handler(); - if (!FLAGS_writePath.isEmpty()) { + if (FLAGS_verbose) { + gVLog = stderr; + } else if (!FLAGS_writePath.isEmpty()) { sk_mkdir(FLAGS_writePath[0]); gVLog = freopen(SkOSPath::Join(FLAGS_writePath[0], "verbose.log").c_str(), "w", stderr); } |