print args to aid debugging

This commit is contained in:
Antoni Sawicki 2020-04-27 12:12:39 -07:00
parent 41dfa7dae2
commit 311bb829da

1
wrp.go
View File

@ -436,6 +436,7 @@ func main() {
http.HandleFunc("/shutdown/", haltServer)
http.HandleFunc("/favicon.ico", http.NotFound)
log.Printf("Web Rendering Proxy Version %s\n", version)
log.Print(os.Args)
log.Printf("Starting WRP http server on %s\n", addr)
srv.Addr = addr
err = srv.ListenAndServe()