clogger 0.3.0v0.3.0
commit883368f745af13a57b3784b834001a82823eee05
authorEric Wong <normalperson@yhbt.net>
Tue, 9 Feb 2010 21:57:17 +0000 (9 13:57 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 9 Feb 2010 21:57:17 +0000 (9 13:57 -0800)
tree7bda0851af53998bbd30d9123dd96a5cf21ad399
parent616314a2bbc13095b1da9306916c0d414634e555
clogger 0.3.0

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.
GIT-VERSION-GEN
lib/clogger.rb