Closed
Description
Currently services in this demo, at least those written in Go, are emitting logs to stderr as of now, which makes the appearance of logs confusing because some info level logs are treated as error level ones, due to Stackdriver Logging's default setting. Changing the log destination to stdout solves this.
Also, all log messages are in text payload. Though this is the demonstration of GKE, it would be great if it can demonstrate the features of Stackdriver Logging as well. For that, using JSON (structured log format) can show how Stackdriver Logging can handle the log more efficiently such as handy filters.
Progress tracker
(added by ahmetb, cc: @ymotongpoo )
- cartservice
- checkoutservice (Change log format to JSON and log destination to stdout #48)
- currencyservice (log: change log format to JSON payload for better log in Stackdriver #66)
- frontend
- loadgenerator (not eligible, produces human-readable output)
- productcatalogservice (Change log format to JSON and log destination to stdout #48)
- recommendationservice (log: change log format to JSON payload for better log in Stackdriver #66)
- shippingservice (Change log format to JSON and log destination to stdout #48)
Activity
adservice: enable structured logging and OpenCensus log correlation
adservice: enable structured logging and OpenCensus log correlation
adservice: enable structured logging and OpenCensus log correlation (#59
log: change log format to JSON payload for better log in Stackdriver (G…
log: change log format to JSON payload for better log in Stackdriver (#…
askmeegs commentedon Sep 17, 2019
cartservice is the only service remaining to complete this -- closing in favor of #154
1 remaining item