diff --git a/frameworks/Ruby/sinatra-sequel/hello_world.rb b/frameworks/Ruby/sinatra-sequel/hello_world.rb index cf6cfac54cc..9fa3a2ac10e 100644 --- a/frameworks/Ruby/sinatra-sequel/hello_world.rb +++ b/frameworks/Ruby/sinatra-sequel/hello_world.rb @@ -30,6 +30,9 @@ class HelloWorld < Sinatra::Base # Only add the charset parameter to specific content types per the requirements set :add_charset, [mime_type(:html)] + + # Disable logging middleware + set :logging, nil end # Test type 1: JSON serialization diff --git a/frameworks/Ruby/sinatra/hello_world.rb b/frameworks/Ruby/sinatra/hello_world.rb index 628ce12a6d0..7a0fae50847 100644 --- a/frameworks/Ruby/sinatra/hello_world.rb +++ b/frameworks/Ruby/sinatra/hello_world.rb @@ -30,6 +30,9 @@ class HelloWorld < Sinatra::Base # Only add the charset parameter to specific content types per the requirements set :add_charset, [mime_type(:html)] + + # Disable logging middleware + set :logging, nil end # Test type 1: JSON serialization