Skip to content

Commit b23448b

Browse files
committed
add logging for initialization
1 parent 1134b25 commit b23448b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func main() {
7272
proxy := NewSegmentReverseProxy(cdnURL, trackingAPIURL)
7373
if *debug {
7474
proxy = handlers.LoggingHandler(os.Stdout, proxy)
75+
log.Printf("serving proxy at port %v\n", *port)
7576
}
7677

7778
log.Fatal(http.ListenAndServe(":"+*port, proxy))

0 commit comments

Comments
 (0)