Disable logging

This commit is contained in:
Sdogruyol 2016-04-17 00:13:12 +03:00
parent 25d1474e29
commit 4abdf39037
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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