Skip to content

Commit 43212e4

Browse files
authored
add structured logging with sourcegraph/log (#2)
The stabilizer has unstructured output and this is currently treated by kubernetes as error logs, causing a load of debug output to be marked as error logs. This migrates the stabilizer to use structured logging used throughout the Sourcegraph application.
1 parent 44970ca commit 43212e4

File tree

4 files changed

+361
-19
lines changed

4 files changed

+361
-19
lines changed

go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ require (
66
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
77
github.com/prometheus/client_golang v1.13.0
88
github.com/slimsag/freeport v0.0.0-20200820000215-330cfe47953a
9+
github.com/sourcegraph/log v0.0.0-20221206163500-7d93c6ad7037
910
)

0 commit comments

Comments
 (0)