From 798e9fd8abe737476ccc32bd7ffe99b3d96abea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Sun, 17 Mar 2013 16:18:39 +0100 Subject: [PATCH] More logging --- src/cmd/tusd/main.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/cmd/tusd/main.go b/src/cmd/tusd/main.go index a5b071f..f42d552 100644 --- a/src/cmd/tusd/main.go +++ b/src/cmd/tusd/main.go @@ -7,10 +7,16 @@ import ( ) func main() { + log.Printf("tusd started") + http.HandleFunc("/", route) - err := http.ListenAndServe(":1080", nil) + + addr := ":1080" + log.Printf("serving clients at %s", addr) + + err := http.ListenAndServe(addr, nil) if err != nil { - log.Fatal("ListenAndServe: ", err) + log.Fatal(err) } }