feat(tvix/store): add --json arg

This configures logging as JSON.

Change-Id: I22cdda84de215bfceda4e9d47bc8d487a5451a6e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8130
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
Florian Klink 2023-02-16 16:49:22 +01:00 committed by flokli
parent 7fe7e03df3
commit fbabcf0420
4 changed files with 82 additions and 4 deletions

View file

@ -23,7 +23,7 @@ tokio-stream = "0.1.11"
tokio = { version = "1.23.0", features = ["rt-multi-thread"] }
tonic = "0.8.2"
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
tracing-subscriber = { version = "0.3.16", features = ["json"] }
[dependencies.tonic-reflection]
optional = true