collectiveidea/delayed_job — pull request #317 by terut (2011-12-08 18:53:46+00:00)
Title: Add custom_logger for script/delayed_job

When script/delayed_job run, assigns custom_logger to `Delayed::Worker.logger`.

I add `cattributes :custom_logger` in `Delayed::Worker`
I wanna change logger.

# config/initializers/delayed_job_config.rb
Delayed::Worker.custom_logger = Syslogger.new("app_name", Syslog::LOG_PID, Syslog::LOG_LOCAL2)