lib/rack/app/bundled_extensions/logger.rb in rack-app-8.0.1 vs lib/rack/app/bundled_extensions/logger.rb in rack-app-8.1.0
- old
+ new
@@ -7,6 +7,8 @@
@logger ||= Rack::App::Logger.new(STDOUT).tap do |this|
this.id = request.env['HTTP_X_REQUEST_ID']
end
end
+ before { logger }
+
end