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

Side by Side Diff: client/cmd/isolate/common.go

Issue 2922153002: Log uses of isolate archive and exparchive when 'chromium' build tag is set.
Patch Set: set upstream Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package main 5 package main
6 6
7 import ( 7 import (
8 "errors" 8 "errors"
9 "flag" 9 "flag"
10 "fmt" 10 "fmt"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 128 }
129 } 129 }
130 return nil 130 return nil
131 } 131 }
132 132
133 // loggingFlags configures eventlog logging. 133 // loggingFlags configures eventlog logging.
134 type loggingFlags struct { 134 type loggingFlags struct {
135 EventlogEndpoint string 135 EventlogEndpoint string
136 } 136 }
137 137
138 const eventlogEndpointHelp = `The URL destination for eventlogs. The following s pecial values are supported:
139 \t"prod": use the prod eventlog endpoint
140 \t"test": use the test eventlog endpoint
141 \t"none": disable eventlogging
142 \t"auto": use the prod endpoint if --isolate-server is set to the prod isolate s erver; otherwise disable eventlogging.`
143
138 func (lf *loggingFlags) Init(f *flag.FlagSet) { 144 func (lf *loggingFlags) Init(f *flag.FlagSet) {
139 » f.StringVar(&lf.EventlogEndpoint, "eventlog-endpoint", "", `The URL dest ination for eventlogs. The special values "prod" or "test" may be used to target the standard prod or test urls repspectively. An empty string disables eventlog ging.`) 145 » f.StringVar(&lf.EventlogEndpoint, "eventlog-endpoint", "auto", eventlogE ndpointHelp)
tandrii(chromium) 2017/06/06 07:14:48 IMO, this should default to None, while recipe inv
140 } 146 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698