gem "dalli"
gem "kgio"
+# Used to generate logstash friendly log files
+gem "logstasher"
+
# Gems useful for development
group :development do
gem "vendorer"
tilt
libv8 (3.16.14.11)
libxml-ruby (2.8.0)
+ logstash-event (1.2.02)
+ logstasher (0.6.5)
+ logstash-event (~> 1.2.0)
+ request_store
loofah (2.0.2)
nokogiri (>= 1.5.9)
mail (2.6.3)
rake (10.4.2)
redcarpet (3.3.2)
ref (2.0.0)
+ request_store (1.2.0)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
kgio
konacha
libxml-ruby (>= 2.0.5)
+ logstasher
minitest (~> 5.1)
oauth-plugin (>= 0.5.1)
omniauth
if defined?(MEMCACHE_SERVERS)
config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
end
+
+ # Use logstash for logging if required
+ if defined?(LOGSTASH_PATH)
+ config.logstasher.enabled = true
+ config.logstasher.suppress_app_log = false
+ config.logstasher.logger_path = LOGSTASH_PATH
+ config.logstasher.log_controller_parameters = true
+ end
end
end
attachments_dir: ":rails_root/public/attachments"
# Log file to use
#log_path: ""
+ # Log file to use for logstash
+ #logstash_path: ""
# List of memcache servers to use for caching
#memcache_servers: []
# Enable legacy OAuth 1.0 support