about summary refs log tree commit homepage
path: root/ext
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-02-09 13:57:17 -0800
committerEric Wong <normalperson@yhbt.net>2010-02-09 13:57:17 -0800
commit883368f745af13a57b3784b834001a82823eee05 (patch)
tree7bda0851af53998bbd30d9123dd96a5cf21ad399 /ext
parent616314a2bbc13095b1da9306916c0d414634e555 (diff)
downloadclogger-883368f745af13a57b3784b834001a82823eee05.tar.gz
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.
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions