miekg / caddy-prometheus

Prometheus metrics middleware for caddy
Apache License 2.0
65 stars 26 forks source link

Errors should go to stderr #24

Closed juergenhoetzel closed 7 years ago

juergenhoetzel commented 7 years ago

I use stdout for my normal logs, See: Caddy SystemD

miekg commented 7 years ago

Thanks. I think we should actually change this into something like: log.Println("[ERROR] .... to adhere to Caddy's style?

juergenhoetzel commented 7 years ago

Thanks. I think we should actually change this into something like: log.Println("[ERROR] .... to adhere to Caddy's style?

Good catch. I just amended the commit.

miekg commented 7 years ago

thanks