From 883368f745af13a57b3784b834001a82823eee05 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 9 Feb 2010 13:57:17 -0800 Subject: 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 | 2 +- lib/clogger.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index e36125a..e1fc604 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v0.2.0.GIT +DEF_VER=v0.3.0.GIT LF=' ' diff --git a/lib/clogger.rb b/lib/clogger.rb index 38b0d62..b23f3fe 100644 --- a/lib/clogger.rb +++ b/lib/clogger.rb @@ -1,6 +1,6 @@ # -*- encoding: binary -*- class Clogger - VERSION = '0.2.0' + VERSION = '0.3.0' OP_LITERAL = 0 OP_REQUEST = 1 -- cgit v1.2.3-24-ge0c7