Improved logging.

This commit is contained in:
Martin Edenhofer 2015-05-21 08:37:21 +02:00
parent d206ef49ed
commit 708c8cf55c

View file

@ -48,7 +48,7 @@ class Scheduler < ApplicationModel
Thread.new {
logger.info "started job thread for '#{job.name}' (#{job.method})..."
logger.info "Started job thread for '#{job.name}' (#{job.method})..."
# start loop for periods under 5 minutes
if job.period && job.period <= 300
@ -123,7 +123,7 @@ class Scheduler < ApplicationModel
Thread.new {
sleep wait
logger.info "*** Starting worker thread #{Delayed::Job}"
logger.info "Starting worker thread #{Delayed::Job}"
loop do
result = nil