Permalink
Browse files

remote ruby logger altogether

  • Loading branch information...
1 parent 4ff157c commit 66779beba65266eb007e34df8114b216118ae550 @mojombo mojombo committed Feb 21, 2008
Showing with 2 additions and 3 deletions.
  1. +0 −1 lib/god.rb
  2. +1 −1 lib/god/driver.rb
  3. +1 −1 lib/god/logger.rb
View
1 lib/god.rb
@@ -5,7 +5,6 @@
# core
require 'stringio'
-require 'logger'
require 'fileutils'
begin
View
2 lib/god/driver.rb
@@ -21,7 +21,7 @@ def due?
class Driver
attr_reader :thread
- INTERVAL = 0.25
+ INTERVAL = 0
# Instantiate a new Driver and start the scheduler loop to handle events
# +task+ is the Task this Driver belongs to
View
2 lib/god/logger.rb
@@ -22,7 +22,7 @@ def initialize
@mutex = Mutex.new
@capture = nil
@templogio = StringIO.new
- @templog = ::Logger.new(@templogio)
+ @templog = SimpleLogger.new(@templogio)
@templog.level = Logger::INFO
load_syslog
end

0 comments on commit 66779be

Please sign in to comment.