summaryrefslogtreecommitdiff
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
commit050ebab1146a1d8607513ce67ddfe0821afce5a2 (patch)
treef7e780cf934e841c5c9fefff0c11168540018a14
parent2141f8fe4f5823a3d14a4320527ab20e93529a99 (diff)
Added attribute for the logfile.
Updated default beanstalkd server port.
-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