clogger RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [ANN] clogger 0.3.0 - configurable logging for Rack
@ 2010-02-09 22:08 Eric Wong
       [not found] ` <E1NeyFv-00025n-Qr@ns3.engtasarim.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2010-02-09 22:08 UTC (permalink / raw)
  To: clogger

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-09 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 22:08 [ANN] clogger 0.3.0 - configurable logging for Rack Eric Wong
     [not found] ` <E1NeyFv-00025n-Qr@ns3.engtasarim.com>
2010-02-09 22:22   ` Autoreply: "[ANN] clogger 0.3.0 - configurable logging for Rack" Iñaki Baz Castillo
2010-02-09 22:24     ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/clogger.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).