Set auto_flushing to 1 explicitly

This commit is contained in:
Raphael 2010-12-16 17:26:29 -08:00
parent 2758ea1625
commit 647c48d530

View file

@ -1,5 +1,6 @@
module ResqueJobLogging
def around_perform_log_job(*args)
Rails.logger.auto_flushing=1
log_string = "event=resque_job job=#{self} "
error = nil
time = Benchmark.realtime{