# \[ANN\] clogger 1.0.0 - configurable request logging for Rack

**URL:** <https://rubytalk.org/t/ann-clogger-1-0-0-configurable-request-logging-for-rack/62489>\
**Category:** ruby-talk\
**Created:** [21 April 2011 05:54 UTC](https://rubytalk.org/t/ann-clogger-1-0-0-configurable-request-logging-for-rack/62489 "2011-04-21T05:54:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Wong2](https://avatars.discourse-cdn.com/v4/letter/e/b9e5f3/32.png) [@Eric\_Wong2](https://rubytalk.org/u/Eric_Wong2)\
**Post date:** [21 April 2011 05:54 UTC](https://rubytalk.org/t/ann-clogger-1-0-0-configurable-request-logging-for-rack/62489/1 "2011-04-21T05:54:06Z")

</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/)  
\* [clogger@librelist.com](mailto:clogger@librelist.com)  
\* git://bogomips.org/clogger.git

Changes:

\* $time\_iso8601 added for nginx compatibility  
\* $time\_local (without strftime-options) is now locale-independent

There's also a minor usability tweak that allows Symbols to be  
specified as the :format argument, so [config.ru](http://config.ru) can be shortened:

before (continues to work with 1.0.0):

&nbsp;&nbsp;&nbsp;&nbsp;use Clogger, :format =\> Clogger::Format::Rack\_1\_0

after:

&nbsp;&nbsp;&nbsp;&nbsp;use Clogger, :format =\> :Rack\_1\_0

> **···**
>
> --  
> Eric Wong
