summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-23 14:56:22 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-23 14:56:22 +0000
commit70a5bc6c9b887ee3082d03eabf935fadb6bdaf7b (patch)
treef7e780cf934e841c5c9fefff0c11168540018a14 /lib/custodian
parentdcaeff4beb1b7952551ee2abfbbcd5f172a67100 (diff)
Added attribute for the logfile.
Updated default beanstalkd server port.
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/settings.rb14
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