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

Unified Diff: appengine/logdog/coordinator/endpoints/logs/list.go

Issue 1909073002: LogDog: Add project namespace to logs endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-storage
Patch Set: Rebase? Created 4 years, 8 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
Index: appengine/logdog/coordinator/endpoints/logs/list.go
diff --git a/appengine/logdog/coordinator/endpoints/logs/list.go b/appengine/logdog/coordinator/endpoints/logs/list.go
index 284e84c10129b52a81745f4f123a07148f75acca..7ab0d85cd14ee9fca962a6458b54ae72f20c10aa 100644
--- a/appengine/logdog/coordinator/endpoints/logs/list.go
+++ b/appengine/logdog/coordinator/endpoints/logs/list.go
@@ -24,6 +24,16 @@ const (
// List returns log stream paths rooted under the hierarchy.
func (s *server) List(c context.Context, req *logdog.ListRequest) (*logdog.ListResponse, error) {
+ log.Fields{
+ "project": req.Project,
+ "path": req.Path,
+ "recursive": req.Recursive,
+ "offset": req.Offset,
+ "maxResults": req.MaxResults,
+ "streamOnly": req.StreamOnly,
+ "includePurged": req.IncludePurged,
+ }.Debugf(c, "Received List request.")
+
hr := hierarchy.Request{
Base: req.Path,
Recursive: req.Recursive,
« no previous file with comments | « appengine/logdog/coordinator/endpoints/logs/get_test.go ('k') | appengine/logdog/coordinator/endpoints/logs/list_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698