diff options
author | Alan Pearce | 2024-06-19 14:11:23 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-19 14:11:23 +0200 |
commit | 0df6daa9339c7f957ed59126e82b9a3590407cac (patch) | |
tree | c0059804597ce7bcfc9b4d76e766bd0544a17d3a | |
parent | f0f14c101b7c37b8a4e7f90de1e53f8b3a2313b7 (diff) | |
download | website-0df6daa9339c7f957ed59126e82b9a3590407cac.tar.lz website-0df6daa9339c7f957ed59126e82b9a3590407cac.tar.zst website-0df6daa9339c7f957ed59126e82b9a3590407cac.zip |
log origin of server listener (i.e. listenfd or not)
-rw-r--r-- | internal/server/server.go | 1 |
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 { |