lib/celluloid.rb in celluloid-0.17.2 vs lib/celluloid.rb in celluloid-0.17.3
- old
+ new
@@ -461,10 +461,13 @@
fail "Celluloid is broken on JRuby 1.7.3. Please upgrade to 1.7.4+"
end
require "celluloid/exceptions"
-Celluloid.logger = Logger.new(STDERR)
+Celluloid.logger = Logger.new(STDERR).tap do |logger|
+ logger.level = Logger::INFO unless $CELLULOID_DEBUG
+end
+
Celluloid.shutdown_timeout = 10
Celluloid.log_actor_crashes = true
require "celluloid/calls"
require "celluloid/condition"