func golang.org/x/pkgsite/internal/log.Infof
73 uses
golang.org/x/pkgsite/internal/log (current package)
log.go#L174: func Infof(ctx context.Context, format string, args ...interface{}) {
golang.org/x/pkgsite/internal/config/dynconfig
dynconfig.go#L40: log.Infof(ctx, "reading dynamic config from %s", location)
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L122: log.Infof(ctx, "Not exporting to StackDriver: GOOGLE_CLOUD_PROJECT is unset.")
golang.org/x/pkgsite/internal/fetch
fetch.go#L300: log.Infof(ctx, "error getting source info: %v", err)
fetch.go#L307: log.Infof(ctx, format, args...)
load.go#L394: log.Infof(ctx, "shedding load over %dMi", mebis)
package.go#L181: log.Infof(ctx, "Skipping %q because it is incomplete", innerPath)
golang.org/x/pkgsite/internal/frontend
fetch.go#L133: log.Infof(ctx, "fetchAndPoll(ctx, ds, q, %q, %q, %q): status=%d, responseText=%q",
fetch.go#L210: logf := log.Infof
fetch.go#L551: log.Infof(ctx, "FetchAndUpdateState(%q, %q) completed with err: %v. ", modulePath, requestedVersion, err)
fetch.go#L553: log.Infof(ctx, "FetchAndUpdateState(%q, %q) succeeded", modulePath, requestedVersion)
fetch.go#L567: log.Infof(ctx, "FetchAndUpdateState(%q, %q): db.InsertModule succeeded", modulePath, requestedVersion)
server.go#L131: log.Infof(r.Context(), "Request made to %q", r.URL.Path)
server.go#L362: log.Infof(ctx, "returning %d (%s) for error %v", serr.status, http.StatusText(serr.status), err)
unit.go#L150: log.Infof(ctx, "serveUnitPage: Scheduling %q@%q to be fetched", um.ModulePath, info.requestedVersion)
golang.org/x/pkgsite/internal/middleware
caching.go#L173: log.Infof(ctx, "cache get(%q): context timed out", key)
caching.go#L175: log.Infof(ctx, "cache get(%q): %v", key, err)
caching.go#L197: log.Infof(ctx, "caching response of length %d for %s", rec.buf.Len(), key)
quota.go#L84: log.Infof(ctx, "Quota: accepting %q", authVal)
golang.org/x/pkgsite/internal/postgres
excluded.go#L31: log.Infof(ctx, "path %q matched excluded prefix %q", path, prefix)
insert_module.go#L172: log.Infof(ctx, "%s@%s: not inserting into search documents", m.ModulePath, m.Version)
requeue.go#L59: log.Infof(ctx, "Updated release and non-incompatible versions of module_version_states with status=200 and status=290 and app_version < %q; %d affected", appVersion, affected)
requeue.go#L94: log.Infof(ctx, "Updated latest version of module_version_states with status=200 and status=290 and app_version < %q; %d affected", appVersion, affected)
requeue.go#L111: log.Infof(ctx,
requeue.go#L162: log.Infof(ctx, "No modules to requeue")
requeue.go#L173: log.Infof(ctx, "GetNextModulesToFetch: num_modules=%d; %s; start_module=%q; end_module=%q",
search.go#L890: log.Infof(ctx, "%6d total rows in search_documents match computed_imported_by_counts", total)
search.go#L891: log.Infof(ctx, "%6d will change", change)
search.go#L892: log.Infof(ctx, "%6d currently have a zero imported-by count", zero)
search.go#L893: log.Infof(ctx, "%6d of the non-zero rows will change by more than %d%%", diff, int(changeThreshold*100))
search.go#L1053: log.Infof(ctx, "deleted %d rows from search_documents", n)
golang.org/x/pkgsite/internal/queue
queue.go#L62: log.Infof(ctx, "enqueuing at %s with queueURL=%q", g.queueName, g.queueURL)
queue.go#L252: log.Infof(ctx, "Fetch requested: %q %q (workerCount = %d)", v.modulePath, v.version, cap(q.sem))
golang.org/x/pkgsite/internal/source
source.go#L415: log.Infof(ctx, "no templates for repo URL %q from meta tag: err=%v", sourceMeta.repoURL, err)
source.go#L474: log.Infof(ctx, "matchLegacyTemplates: no matches for repo URL %q; replacing", sm.repoURL)
golang.org/x/pkgsite/internal/worker
fetch.go#L183: log.Infof(ctx, "not fetching %s@%s because it is on the ProxyRemoved list", modulePath, requestedVersion)
fetch.go#L237: logf := log.Infof
fetch.go#L246: log.Infof(ctx, "fetch.FetchModule succeeded for %s@%s", ft.ModulePath, ft.RequestedVersion)
fetch.go#L260: log.Infof(ctx, "db.InsertModule succeeded for %s@%s", ft.ModulePath, ft.RequestedVersion)
fetch.go#L269: log.Infof(ctx, "invalidated cache for %s", ft.ModulePath)
fetch.go#L374: log.Infof(ctx, "%s@%s: code=%d, deleting", ft.ModulePath, ft.ResolvedVersion, ft.Status)
fetch.go#L387: log.Infof(ctx, "%s@%s: code=491, deleting older version from search", ft.ModulePath, ft.ResolvedVersion)
fetch.go#L402: logf := log.Infof
server.go#L130: log.Infof(r.Context(), "Request made to %q", r.URL.Path)
server.go#L254: log.Infof(ctx, "Repopulating search documents for %d packages", limit)
server.go#L280: log.Infof(r.Context(), "doFetch of %s returned %d; returning that code to retry task", r.URL.Path, code)
server.go#L285: log.Infof(r.Context(), "doFetch of %s returned code %d; returning OK to avoid retry", r.URL.Path, code)
server.go#L380: log.Infof(ctx, "Inserted %d modules from the index", len(modules))
server.go#L418: log.Infof(ctx, "Scheduling modules to be fetched: queuing %d modules", len(modules))
server.go#L449: log.Infof(ctx, "Successfully scheduled modules to be fetched: %d modules enqueued, %d errors", nEnqueued, nErrors)
server.go#L492: log.Infof(r.Context(), "handlePopulateStdLib: %s", msg)
server.go#L616: log.Infof(ctx, "cleaning %d modules", len(mvs))
server.go#L624: log.Infof(ctx, "cleaning module %q", module)
server.go#L761: log.Infof(ctx, "returning %d (%s) for error %v", serr.status, http.StatusText(serr.status), err)
golang.org/x/pkgsite/cmd/frontend
main.go#L71: log.Infof(ctx, "cmd/frontend: initializing cmdconfig.ExperimentGetter")
main.go#L73: log.Infof(ctx, "cmd/frontend: initialized cmdconfig.ExperimentGetter")
main.go#L167: log.Infof(ctx, "cmd/frontend: initializing cmdconfig.Experimenter")
main.go#L169: log.Infof(ctx, "cmd/frontend: initialized cmdconfig.Experimenter")
main.go#L187: log.Infof(ctx, "Listening on addr %s", addr)
golang.org/x/pkgsite/cmd/internal/cmdconfig
cmdconfig.go#L72: log.Infof(ctx, "using dynamic config from %s for experiments", cfg.DynamicConfigLocation)
cmdconfig.go#L90: log.Infof(ctx, "read experiments %s", strings.Join(s, ", "))
cmdconfig.go#L106: log.Infof(ctx, "opening database on host %s", cfg.DBHost)
cmdconfig.go#L109: log.Infof(ctx, "connected to primary host: %s", cfg.DBHost)
cmdconfig.go#L113: log.Infof(ctx, "no secondary DB host")
cmdconfig.go#L122: log.Infof(ctx, "connected to secondary host %s", cfg.DBSecondaryHost)
cmdconfig.go#L124: log.Infof(ctx, "database open finished")
golang.org/x/pkgsite/cmd/pkgsite
main.go#L72: log.Infof(ctx, "Listening on addr %s", *httpAddr)
golang.org/x/pkgsite/cmd/prober
main.go#L208: log.Infof(ctx, "base URL %s", baseURL)
main.go#L261: log.Infof(ctx, "Listening on addr %s", addr)
main.go#L334: log.Infof(ctx, "running %s = %s", p.Name, url)
main.go#L336: log.Infof(ctx, "%s in %dms", status.Text, status.Latency)
golang.org/x/pkgsite/cmd/worker
main.go#L154: log.Infof(ctx, "Listening on addr %s", addr)
main.go#L201: log.Infof(ctx, "read %d excluded module versions from %s", len(worker.ProxyRemoved), filename)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |