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 | 050ebab1146a1d8607513ce67ddfe0821afce5a2 (patch) | |
tree | f7e780cf934e841c5c9fefff0c11168540018a14 /lib/custodian | |
parent | 2141f8fe4f5823a3d14a4320527ab20e93529a99 (diff) |
Added attribute for the logfile.
Updated default beanstalkd server port.
Diffstat (limited to 'lib/custodian')
-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 |