Added config env to startup message

This commit is contained in:
Sdogruyol 2015-11-20 23:12:12 +02:00
parent f66e9cd834
commit 485fed11af

View file

@ -19,7 +19,7 @@ at_exit do
server = HTTP::Server.new(config.port, config.handlers)
server.ssl = config.ssl
logger.write "Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"
logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"
Signal::INT.trap {
logger.handler.close