about summary refs log tree commit diff stats
path: root/internal/server/server.go
diff options
context:
space:
mode:
authorAlan Pearce2024-06-19 14:11:23 +0200
committerAlan Pearce2024-06-19 14:11:23 +0200
commit0df6daa9339c7f957ed59126e82b9a3590407cac (patch)
treec0059804597ce7bcfc9b4d76e766bd0544a17d3a /internal/server/server.go
parentf0f14c101b7c37b8a4e7f90de1e53f8b3a2313b7 (diff)
downloadwebsite-0df6daa9339c7f957ed59126e82b9a3590407cac.tar.lz
website-0df6daa9339c7f957ed59126e82b9a3590407cac.tar.zst
website-0df6daa9339c7f957ed59126e82b9a3590407cac.zip
log origin of server listener (i.e. listenfd or not)
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index a658235..26d1c1f 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -169,6 +169,7 @@ func (s *Server) Start() error {
 		log.Warn("could not create listener from listenfd", "error", err)
 	}
 
+	log.Debug("listener from listenfd?", "passed", l != nil)
 	if l == nil {
 		l, err = net.Listen("tcp", s.Addr)
 		if err != nil {