ajxchapman / ReServ

A set of simple servers (currently HTTP/HTTPS and DNS) which allow configurable and scriptable responses to network requests.
60 stars 6 forks source link

middleware: Log to NoSQL database #6

Open ajxchapman opened 4 years ago

ajxchapman commented 4 years ago

Logs should be added to a NoSQL database and purged periodically to tar.gz files

ajxchapman commented 4 years ago

Middleware handling has been updated to pass the matched route in as a parameter. This can be used to add middleware arguments to a route, for logging we could use log, logif, and logifnot.