From 4abdf39037217392f9adfdb5e84ab4ab7edd2d1d Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Sun, 17 Apr 2016 00:13:12 +0300 Subject: [PATCH] Disable logging --- shard.lock | 4 ++-- src/spec-kemal.cr | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/shard.lock b/shard.lock index b2f91c9..7f6906d 100644 --- a/shard.lock +++ b/shard.lock @@ -2,7 +2,7 @@ version: 1.0 shards: kemal: github: sdogruyol/kemal - commit: 65d0af5b5f953c9c263d0e4c657517c4d64567ce + commit: a8ecbde22295f4c6ce156f9d5acda304894334fb kilt: github: jeromegn/kilt @@ -10,5 +10,5 @@ shards: radix: github: luislavena/radix - version: 0.1.1 + version: 0.3.0 diff --git a/src/spec-kemal.cr b/src/spec-kemal.cr index f528f47..49e5274 100644 --- a/src/spec-kemal.cr +++ b/src/spec-kemal.cr @@ -10,17 +10,18 @@ APP_URL = "http://localhost:#{APP_PORT}" Kemal.config.env = APP_ENV Kemal.config.host_binding = APP_HOST_BINDING Kemal.config.port = APP_PORT +Kemal.config.logging = false def start spawn do Kemal.run - Kemal.config.server.listen + Kemal.config.server.not_nil!.listen end sleep TIME_TO_SLEEP end def stop - Kemal.config.server.close + Kemal.config.server.not_nil!.close sleep TIME_TO_SLEEP end