[ANN] clogger 0.0.6 - configurable request logging for Rack

E

Eric Wong

Clogger is Rack middleware for logging HTTP requests. The log format
is customizable so you can specify exactly which fields to log.

* http://clogger.rubyforge.org/
* (e-mail address removed)
* git://git.bogomips.org/clogger.git

Changes:

"clogger_ext" is no longer a separate gem, but merged into the
"clogger" gem itself. The installation should automatically
detect compatible versions of Ruby and only build the C
extension for MRI 1.8/1.9.

Rack::Utils::HeaderHash is now used for $sent_http_* variable
lookups instead of a hand-rolled solution. HeaderHash objects
should be reusable in Rack soon to avoid the penalty of
recreating them repeatedly in middlewares and hopefully
more-widely used as a result.

Underlying logger objects are sync=true for safety reasons.
This has always been the case for the C extension version
when writing to regular files.

Other small changes include more CGI variables and the :ORS
(output record separator) option added (default: "\n").
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top