lib/phi_attrs/logger.rb in phi_attrs-0.2.2 vs lib/phi_attrs/logger.rb in phi_attrs-0.2.4

- old
+ new

@@ -5,10 +5,10 @@ class Logger class << self def logger unless @logger - logger = ActiveSupport::Logger.new(PhiAttrs.log_path) + logger = ActiveSupport::Logger.new(PhiAttrs.log_path, PhiAttrs.log_shift_age, PhiAttrs.log_shift_size) logger.formatter = Formatter.new @logger = ActiveSupport::TaggedLogging.new(logger) end @logger end