Fixing logger issue due to newer versions of Sinatra