summaryrefslogtreecommitdiff
path: root/internal/logging
diff options
context:
space:
mode:
Diffstat (limited to 'internal/logging')
-rw-r--r--internal/logging/logging.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go
index 91a9734..53155a3 100644
--- a/internal/logging/logging.go
+++ b/internal/logging/logging.go
@@ -43,6 +43,7 @@ func Setup(lvlStr, fmtStr, outStr string) error {
)
h = withTrackedContext(h, util.ReqIDKey, "request_id")
+ h = withTrackedContext(h, util.ProtoMethodKey, "proto_method")
h = withStackTrace(h)
slog.SetDefault(slog.New(h))
return errors.Join(outputErr, formatErr, levelErr)