summaryrefslogtreecommitdiff
path: root/chef-solr
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2010-05-27 13:00:08 -0700
committerDaniel DeLeo <dan@opscode.com>2010-06-03 12:22:11 -0700
commitc63d4bad1b92630ebc6087714b211b7ffd548e6a (patch)
tree75734f2344685e84edf1072d8fb67c3649041135 /chef-solr
parentc453db96d8c470b6b0e739b32aa01727c2f787f6 (diff)
downloadchef-c63d4bad1b92630ebc6087714b211b7ffd548e6a.tar.gz
fix solr startup and features knife config
Diffstat (limited to 'chef-solr')
-rw-r--r--chef-solr/lib/chef/solr/application/solr.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/chef-solr/lib/chef/solr/application/solr.rb b/chef-solr/lib/chef/solr/application/solr.rb
index 89cd3b3599..01df42b551 100644
--- a/chef-solr/lib/chef/solr/application/solr.rb
+++ b/chef-solr/lib/chef/solr/application/solr.rb
@@ -117,6 +117,7 @@ class Chef
end
def setup_application
+ STDERR.puts "wot the fuck cunt"
# Need to redirect stdout and stderr so Java process inherits them.
# If -L wasn't specified, Chef::Config[:log_location] will be an IO
# object, otherwise it will be a String.
@@ -126,7 +127,8 @@ class Chef
@logfile = File.new(Chef::Config[:log_location], "a")
end
- Chef::Log.level = Chef::Config[:log_level]
+ #Chef::Log.level = Chef::Config[:log_level]
+ Chef::Log.level = :debug
# Build up a client
node = Chef::Node.new