lib/semantic_logger/logger.rb in semantic_logger-2.5.0 vs lib/semantic_logger/logger.rb in semantic_logger-2.6.0

- old
+ new

@@ -126,11 +126,11 @@ # For example when an appender is not working etc.. # By default logs to STDERR def self.logger @@logger ||= begin l = SemanticLogger::Appender::File.new(STDERR, :warn) - l.name = self.class.name + l.name = name l end end # Start the appender thread @@ -210,16 +210,7 @@ nil end end end - # Flush all appenders at exit, waiting for outstanding messages on the queue - # to be written first - at_exit do - flush - end - - # Start appender thread on load to workaround intermittent startup issues - # with JRuby 1.8.6 under Trinidad in 1.9 mode - start_appender_thread end end