Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   [ANN] clogger 0.3.0 - configurable logging for Rack (http://www.velocityreviews.com/forums/t861639-ann-clogger-0-3-0-configurable-logging-for-rack.html)

Eric Wong 02-09-2010 10:09 PM

[ANN] clogger 0.3.0 - configurable logging for Rack
 
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/
* clogger@librelist.com
* 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



All times are GMT. The time now is 03:32 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57