about summary refs log tree commit homepage
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
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.
-rwxr-xr-xGIT-VERSION-GEN2
-rw-r--r--lib/clogger.rb2
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