semantic_logger 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,12 +29,8 @@ module SemanticLogger #:nodoc:
29
29
  # Set the default log level based on the Rails config
30
30
  SemanticLogger::Logger.level = config.log_level
31
31
 
32
- # Also log to any pre-existing loggers with SymanticLogger
33
- if existing_logger = (Rails.logger || config.logger)
34
- # Add existing Logger to the list of appenders
35
- SemanticLogger::Logger.appenders << SemanticLogger::Appender::Logger.new(existing_logger)
36
- end
37
-
32
+ # Existing loggers are ignored because servers like trinidad supply their
33
+ # own file loggers which would result in duplicate logging to the same log file
38
34
  Rails.logger = config.logger = begin
39
35
  # First check for Rails 3.2 path, then fallback to pre-3.2
40
36
  path = ((config.paths.log.to_a rescue nil) || config.paths['log']).first
@@ -1,3 +1,3 @@
1
1
  module SemanticLogger #:nodoc
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 2
9
- version: 0.5.2
8
+ - 3
9
+ version: 0.5.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Reid Morrison