From b4bb197f801cdf163f1b4a6a66818f7599aa1b04 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 20 Jan 2018 09:45:36 -0800 Subject: [PATCH] more logging --- cmd/routed/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/routed/main.go b/cmd/routed/main.go index 46cf29c..186167e 100644 --- a/cmd/routed/main.go +++ b/cmd/routed/main.go @@ -68,7 +68,6 @@ func main() { <-ctx.Done() - signal.Reset(os.Interrupt) fmt.Printf("%s is now waiting for final shutdown, press ^C again to kill it now\n", os.Args[0]) time.Sleep(30 * time.Second) } @@ -92,6 +91,7 @@ func setupHTTP(ctx context.Context, s *Server, scfg Config) { } go ln.FatalErr(ctx, hs.Serve(l)) + ln.Log(ctx, f, ln.Action("http server listen")) for { select { @@ -131,6 +131,7 @@ func setupQuic(ctx context.Context, s *Server, scfg Config) { s.QuicServer = qs go ln.FatalErr(context.Background(), qs.ListenAndServe()) + ln.Log(ctx, f, ln.Action("http server listen")) for { select { @@ -166,6 +167,7 @@ func setupTLS(ctx context.Context, s *Server, scfg Config) { } go ln.FatalErr(context.Background(), hs.ListenAndServeTLS("", "")) + ln.Log(ctx, f, ln.Action("http server listen")) for { select {