Rack middleware for logging to SQL Server ?

We use Sinatra and a Rack middleware called RequestLog
which from my research can be seen here:
http://rubydoc.info/gems/request_log/0.1.2/frames

RequestLog is used for logging and it logs the HTTP requests to
mongodb.

I am supposed to investigate changing the logging of the HTTP
requests to SQL server instead of mongodb.

Is there a Rack middleware that could be used for that, should I
modify a copy of RequestLog to do that, or what is a good approach to
look into ?

Thanks