aboutsummaryrefslogtreecommitdiff
path: root/http/router.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 15:58:08 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 15:58:08 +0000
commit0c8d00a4396e7717b20a79769b0a6ee29c00ab24 (patch)
tree7d66e2231af68f9123267813aa3789b94cb6fd2e /http/router.go
parent7cc3e430e0912b67fdaa7c4f9db52e736c2c8370 (diff)
downloadcommunique-0c8d00a4396e7717b20a79769b0a6ee29c00ab24.tar.gz
moar logging
Diffstat (limited to '')
-rw-r--r--http/router.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/http/router.go b/http/router.go
index 3b4b1d1..910c67c 100644
--- a/http/router.go
+++ b/http/router.go
@@ -84,6 +84,9 @@ func (s *Router) Start(zapWriter io.Writer) {
"content-type",
c.GetHeader("Content-Type"),
).With(
+ "digest",
+ c.GetHeader("digest"),
+ ).With(
"payload",
payload,
).Debug("received inbox item")