From f6b3027ded7e76c5276d956c2fd5987c914b717b Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Sat, 16 Nov 2013 18:56:15 -0800 Subject: [PATCH] minor: changed some logging --- control.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/control.go b/control.go index e0f4315..7a00c1d 100644 --- a/control.go +++ b/control.go @@ -52,6 +52,7 @@ func startGame(w http.ResponseWriter, req *http.Request) { tick = cfg.Tick } + log.Printf("game info: %v %v %v %v", requested_game_name, width, height, tick) g := games.get(requested_game_name) if g == nil { log.Printf("Game '%s' non-existant; making it now", requested_game_name) @@ -145,9 +146,7 @@ func stopGame(w http.ResponseWriter, req *http.Request) { http.NotFound(w, req) return } - log.Println("prekill") g.kill <- true - log.Println("postkill") message := struct { Ok bool `json:"ok"` Message string `json:"message"`