diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-23 14:56:22 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-23 14:56:22 +0000 |
commit | 70a5bc6c9b887ee3082d03eabf935fadb6bdaf7b (patch) | |
tree | f7e780cf934e841c5c9fefff0c11168540018a14 | |
parent | dcaeff4beb1b7952551ee2abfbbcd5f172a67100 (diff) |
Added attribute for the logfile.
Updated default beanstalkd server port.
-rw-r--r-- | lib/custodian/settings.rb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index 2708570..cdc1b6d 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -90,7 +90,19 @@ module Custodian def queue_server _load() unless( _loaded? ) - @settings['queue'] || "127.0.0.1:13300" + @settings['queue_server'] || "127.0.0.1:11300" + end + + + + + # + # The filename for the logfile. + # + def log_file + _load() unless( _loaded? ) + + @settings['log_file'] || "custodian-dequeue.log" end |