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
This commit is contained in:
parent
9e3f1bf4e5
commit
a483da395a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user