mirror of
https://github.com/tenox7/wrp.git
synced 2025-02-16 18:30:27 +00:00
print args to aid debugging
This commit is contained in:
parent
41dfa7dae2
commit
311bb829da
1
wrp.go
1
wrp.go
@ -436,6 +436,7 @@ func main() {
|
|||||||
http.HandleFunc("/shutdown/", haltServer)
|
http.HandleFunc("/shutdown/", haltServer)
|
||||||
http.HandleFunc("/favicon.ico", http.NotFound)
|
http.HandleFunc("/favicon.ico", http.NotFound)
|
||||||
log.Printf("Web Rendering Proxy Version %s\n", version)
|
log.Printf("Web Rendering Proxy Version %s\n", version)
|
||||||
|
log.Print(os.Args)
|
||||||
log.Printf("Starting WRP http server on %s\n", addr)
|
log.Printf("Starting WRP http server on %s\n", addr)
|
||||||
srv.Addr = addr
|
srv.Addr = addr
|
||||||
err = srv.ListenAndServe()
|
err = srv.ListenAndServe()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user