Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] clogger 0.3.0 - configurable logging for Rack

Reply
Thread Tools

[ANN] clogger 0.3.0 - configurable logging for Rack

 
 
Eric Wong
Guest
Posts: n/a
 
      02-09-2010
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://www.velocityreviews.com/forums/(E-Mail Removed)
* git://git.bogomips.org/clogger.git
* http://git.bogomips.org/cgit/clogger.git

Changes:

You may now force the :reentrant flag to +true+ or +false+ in
your Rack configuration file:

use Clogger,
:format => Clogger::Format::Combined,
:logger => ::File.open("/path/to/log", "ab"),
:reentrant => true

This is to be compatible with Rack servers that do not use use
events or Fibers for concurrency instead of threads. By
default, reentrancy is enabled if env["rack.multithread"] is
true, but "rack.multithread" cannot indicative of a reentrancy
requirement in a web server.

--
Eric Wong

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] clogger 0.2.0 - configurable logging for Rack Eric Wong Ruby 0 01-07-2010 02:18 AM
[ANN] clogger 0.0.7 - configurable request logging for Rack Eric Wong Ruby 0 09-09-2009 05:25 PM
[ANN] clogger 0.0.6 - configurable request logging for Rack Eric Wong Ruby 0 09-08-2009 12:17 AM
[ANN] clogger 0.0.5 - configurable request logging for Rack Eric Wong Ruby 0 09-03-2009 02:01 AM
[ANN] clogger 0.0.4 - configurable request logging for Rack Eric Wong Ruby 9 09-02-2009 08:55 PM



Advertisments