Disable logging
This commit is contained in:
parent
25d1474e29
commit
4abdf39037
|
@ -2,7 +2,7 @@ version: 1.0
|
||||||
shards:
|
shards:
|
||||||
kemal:
|
kemal:
|
||||||
github: sdogruyol/kemal
|
github: sdogruyol/kemal
|
||||||
commit: 65d0af5b5f953c9c263d0e4c657517c4d64567ce
|
commit: a8ecbde22295f4c6ce156f9d5acda304894334fb
|
||||||
|
|
||||||
kilt:
|
kilt:
|
||||||
github: jeromegn/kilt
|
github: jeromegn/kilt
|
||||||
|
@ -10,5 +10,5 @@ shards:
|
||||||
|
|
||||||
radix:
|
radix:
|
||||||
github: luislavena/radix
|
github: luislavena/radix
|
||||||
version: 0.1.1
|
version: 0.3.0
|
||||||
|
|
||||||
|
|
|
@ -10,17 +10,18 @@ APP_URL = "http://localhost:#{APP_PORT}"
|
||||||
Kemal.config.env = APP_ENV
|
Kemal.config.env = APP_ENV
|
||||||
Kemal.config.host_binding = APP_HOST_BINDING
|
Kemal.config.host_binding = APP_HOST_BINDING
|
||||||
Kemal.config.port = APP_PORT
|
Kemal.config.port = APP_PORT
|
||||||
|
Kemal.config.logging = false
|
||||||
|
|
||||||
def start
|
def start
|
||||||
spawn do
|
spawn do
|
||||||
Kemal.run
|
Kemal.run
|
||||||
Kemal.config.server.listen
|
Kemal.config.server.not_nil!.listen
|
||||||
end
|
end
|
||||||
sleep TIME_TO_SLEEP
|
sleep TIME_TO_SLEEP
|
||||||
end
|
end
|
||||||
|
|
||||||
def stop
|
def stop
|
||||||
Kemal.config.server.close
|
Kemal.config.server.not_nil!.close
|
||||||
sleep TIME_TO_SLEEP
|
sleep TIME_TO_SLEEP
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue