|author||Vadim Shtayura <firstname.lastname@example.org>||Sat May 18 01:12:12 2019|
|committer||Commit Bot <email@example.com>||Sat May 18 01:12:12 2019|
[server] Implement google-fluentd compatible logging. The hardest part is collecting various useful information about the request: * End-client IP address: extracted from X-Forwarded-For header. * Cloud Trace ID: extracted from X-Cloud-Trace-Context header. * Request URL: reconstructed based on request headers. * Log severity: calculated based on max observed severity inside the handler. * Response status and size: calculated by substituting http.ResponseWriter. All this stuff surfaces in Stackdriver Logs UI. Rfirstname.lastname@example.org, email@example.com BUG=959427 Change-Id: I820df2dbb644bbe28d9f99ab3c235769177c3da9 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/1616011 Commit-Queue: Vadim Shtayura <firstname.lastname@example.org> Reviewed-by: Nodir Turakulov <email@example.com>
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.