lib/bullet/logger.rb in bullet-1.7.6 vs lib/bullet/logger.rb in bullet-2.0.0.beta.1

- old
+ new

@@ -1,7 +1,7 @@ module Bullet class BulletLogger < Logger - LOG_FILE = ::RAILS_ROOT + '/log/bullet.log' + LOG_FILE = File.join(Rails.root, 'log/bullet.log') def format_message(severity, timestamp, progname, msg) "#{timestamp.to_formatted_s(:db)}[#{severity}] #{msg}\n" end end