diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-02-09 13:57:17 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-02-09 13:57:17 -0800 |
commit | 883368f745af13a57b3784b834001a82823eee05 (patch) | |
tree | 7bda0851af53998bbd30d9123dd96a5cf21ad399 /ext/clogger_ext/clogger.c | |
parent | 616314a2bbc13095b1da9306916c0d414634e555 (diff) | |
download | clogger-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/clogger_ext/clogger.c')
0 files changed, 0 insertions, 0 deletions