Skip to content

logging: introduce new json log format with automatic severity field

Warren Gifford requested to merge json_log_format into main

Created by: uwedeportivo

addresses some aspects of issue https://github.com/sourcegraph/sourcegraph/issues/13191

allows to specify a log format with the env var SRC_LOG_FORMAT=json which makes it log in json and automatically adds a severity field. this allows for filtering and redirecting according to severity (for example in stackdriver)

Merge request reports

Loading