summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorhorus_arch2015-03-29 23:17:24 +0200
committerhorus_arch2015-03-29 23:17:24 +0200
commit37b6995afa83fcf32dfd24be406112491c8d6451 (patch)
tree9c1e76a1c031b02deff028f9ab5a01fa3d6b0bc2 /main.go
parent75eb1c4c535972cac5d2a91e7b79fd001767e83a (diff)
downloadfreemail-37b6995afa83fcf32dfd24be406112491c8d6451.tar.gz
Better logging with RemoteAddr.
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 5104d6e..750fbfe 100644
--- a/main.go
+++ b/main.go
@@ -51,7 +51,7 @@ func main() {
err := http.ListenAndServe(ip+":"+port, nil)
if err != nil {
- log.Panic(err)
+ log.Panic("Info: ", err)
}
- log.Println("Server is up and listens on " + ip + ":" + port)
+ log.Println("Info: Server is up and listens on " + ip + ":" + port)
}