diff --git a/main.go b/main.go index d679349..4645673 100644 --- a/main.go +++ b/main.go @@ -75,8 +75,6 @@ func main() { syssignal := make(chan os.Signal, 1) signal.Notify(syssignal, os.Interrupt, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP) - log.Printf("httpprocprobed is running on \"%s\".", conf.ListenAddress) - for { switch <-syssignal { case os.Interrupt: @@ -86,7 +84,6 @@ func main() { if err := srv.Shutdown(context.Background()); err != nil { log.Fatalf("%s\n", err) } - log.Println("Server shutted down.") os.Exit(0) case syscall.SIGHUP: newconf, err := LoadConfiguration(*configPath) @@ -94,7 +91,6 @@ func main() { log.Fatalf("Failed to reload a list of processes from configuration: %s\n", err) } conf.Processes = newconf.Processes - log.Println("Successfully reloaded a list of watched processes.") } } }