From 75ff9019c92880e42a371439587c234aaea0c7b8 Mon Sep 17 00:00:00 2001 From: Geno Date: Thu, 30 Mar 2017 14:01:42 +0200 Subject: [PATCH] Update status.go --- http/status.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http/status.go b/http/status.go index c7fdf4f..3d87239 100644 --- a/http/status.go +++ b/http/status.go @@ -7,6 +7,7 @@ import ( ) func statusHandler(w http.ResponseWriter, r *http.Request) { - lib.LogHTTP(r).Info("show status") + log := lib.LogHTTP(r) lib.Write(w, "running") + log.Info("show status") }