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

Unified Diff: client/cmd/isolate/archive.go

Issue 2922153002: Log uses of isolate archive and exparchive when 'chromium' build tag is set.
Patch Set: use build tags to enable autologging 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/cmd/isolate/build_chromium.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cmd/isolate/archive.go
diff --git a/client/cmd/isolate/archive.go b/client/cmd/isolate/archive.go
index 5260bc5b1ef2cdab75b41af113dabec7c390c9fc..a8e2a428ad25fe614a27e9c68d71a6a2ec7e752d 100644
--- a/client/cmd/isolate/archive.go
+++ b/client/cmd/isolate/archive.go
@@ -105,7 +105,7 @@ func (c *archiveRun) main(a subcommands.Application, args []string) error {
if item.Error() != nil {
archiveDetails.IsolateHash = []string{string(item.Digest())}
}
- eventlogger := NewLogger(ctx, c.loggingFlags.EventlogEndpoint)
+ eventlogger := NewLogger(ctx, eventlogEndpoint(ctx, c.loggingFlags.EventlogEndpoint))
op := logpb.IsolateClientEvent_LEGACY_ARCHIVE.Enum()
if err := eventlogger.logStats(ctx, op, start, end, archiveDetails); err != nil {
log.Printf("Failed to log to eventlog: %v", err)
« no previous file with comments | « no previous file | client/cmd/isolate/build_chromium.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698