1require_relative 'app/config'
23# might not be needed depending on the app server you use - comment out these lines to leave logs on STDOUT
4Dir.mkdir('log') unless Dir.exist?('log')
5log = File.new("log/sinatra.log", "a+")
6log.sync = true
7use Rack::CommonLogger, log
89run BlueFactory::Server