An open API service indexing awesome lists of open source software.

https://github.com/amiel/request_logger

A simple rack endpoint for to log incoming requests
https://github.com/amiel/request_logger

Last synced: about 1 year ago
JSON representation

A simple rack endpoint for to log incoming requests

Awesome Lists containing this project

README

          

This simple Rack app just logs to stdout each request it receives.

You can also use this as middleware, like this:

require 'request_logger'
use RequestLogger
run Sinatra::Application

- or -

require 'request_logger'
use RequestLogger, 'log/requests.log'
run Sinatra::Application

This is great for troubleshooting requests.