lib/god.rb in god-0.7.3 vs lib/god.rb in god-0.7.5
- old
+ new
@@ -3,11 +3,10 @@
# rubygems
require 'rubygems'
# core
require 'stringio'
-require 'logger'
require 'fileutils'
begin
require 'fastthread'
rescue LoadError
@@ -17,10 +16,11 @@
# stdlib
# internal requires
require 'god/errors'
+require 'god/simple_logger'
require 'god/logger'
require 'god/system/process'
require 'god/dependency_graph'
require 'god/timeline'
require 'god/configurable'
@@ -68,11 +68,10 @@
$:.unshift File.join(File.dirname(__FILE__), *%w[.. ext god])
# App wide logging system
LOG = God::Logger.new
-LOG.datetime_format = "%Y-%m-%d %H:%M:%S "
def applog(watch, level, text)
LOG.log(watch, level, text)
end
@@ -128,10 +127,10 @@
end
end
end
module God
- VERSION = '0.7.3'
+ VERSION = '0.7.5'
LOG_BUFFER_SIZE_DEFAULT = 100
PID_FILE_DIRECTORY_DEFAULTS = ['/var/run/god', '~/.god/pids']
DRB_PORT_DEFAULT = 17165
DRB_ALLOW_DEFAULT = ['127.0.0.1']
\ No newline at end of file