Log once a day how many connections had client_ip.

This is a sanity check against any catastrophic failure of our parsing
code.
This commit is contained in:
David Fifield 2017-10-17 21:45:36 -07:00
parent c84e1a2e03
commit d9e8f8f647
2 changed files with 44 additions and 0 deletions

View file

@ -269,6 +269,8 @@ func main() {
log.Fatalf("error in setup: %s", err)
}
go statsThread()
var certManager *autocert.Manager
if !disableTLS {
log.Printf("ACME hostnames: %q", acmeHostnames)