Enable logstash compatible logging for production site
[chef.git] / cookbooks / web / recipes / rails.rb
index d5ea0353d2be24aaec0b634803568db4be313a96..4c8d3fb558683fd9820672b4620195dff11f8ddc 100644 (file)
@@ -60,6 +60,7 @@ rails_port "www.openstreetmap.org" do
   gpx_dir "/store/rails/gpx"
   attachments_dir "/store/rails/attachments"
   log_path "#{node[:web][:log_directory]}/rails.log"
+  logstash_path "#{node[:web][:log_directory]}/rails-logstash.log"
   memcache_servers %w(rails1 rails2 rails3)
   potlatch2_key web_passwords["potlatch2_key"]
   id_key web_passwords["id_key"]