lib/sapience/appender/stream.rb in sapience-0.2.4 vs lib/sapience/appender/stream.rb in sapience-0.2.5

- old
+ new

@@ -106,10 +106,9 @@ # Pass log calls to the underlying Rails, log4j or Ruby logger # trace entries are mapped to debug since :trace is not supported by the # Ruby or Rails Loggers def log(log) return false unless should_log?(log) - # Since only one appender thread will be writing to the file at a time # it is not necessary to protect access to the file with a semaphore # Allow this logger to filter out log levels lower than it's own @log.write(formatter.call(log, self) << "\n") true