# Clogger 0.0.6 - configurable request logging for Rack

**URL:** <https://www.ruby-forum.com/t/clogger-0-0-6-configurable-request-logging-for-rack/175104>\
**Category:** Ruby\
**Created:** [September 8, 2009, 2:18am UTC](https://www.ruby-forum.com/t/clogger-0-0-6-configurable-request-logging-for-rack/175104 "2009-09-08T02:18:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/97f17d/32.png) [@ericw](https://www.ruby-forum.com/u/ericw)\
**Post date:** [September 8, 2009, 2:18am UTC](https://www.ruby-forum.com/t/clogger-0-0-6-configurable-request-logging-for-rack/175104/1 "2009-09-08T02:18:07Z")

</div>

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/](http://clogger.rubyforge.org/)
- removed\_email\_address@domain.invalid
- 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”).
