diff --git a/spongy.cgi/spongy.cgi.go b/spongy.cgi/spongy.cgi.go index 580a51e..4b36e75 100644 --- a/spongy.cgi/spongy.cgi.go +++ b/spongy.cgi/spongy.cgi.go @@ -161,6 +161,9 @@ func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } func main() { + log.SetOutput(os.Stdout) + log.SetFlags(0) + log.SetPrefix("Status: 500 CGI Go Boom\nContent-type: text/plain\n\nERROR: ") h := Handler{} if err := cgi.Serve(h); err != nil { log.Fatal(err)