Skip to content

Commit

Permalink
Disable logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sdogruyol committed Apr 16, 2016
1 parent 25d1474 commit 4abdf39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ version: 1.0
shards:
kemal:
github: sdogruyol/kemal
commit: 65d0af5b5f953c9c263d0e4c657517c4d64567ce
commit: a8ecbde22295f4c6ce156f9d5acda304894334fb

kilt:
github: jeromegn/kilt
version: 0.3.3

radix:
github: luislavena/radix
version: 0.1.1
version: 0.3.0

5 changes: 3 additions & 2 deletions src/spec-kemal.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4abdf39

Please sign in to comment.