diff --git a/statsd/spec/configure_spec.rb b/statsd/spec/configure_spec.rb index 6961bef04..8f6a22ed8 100644 --- a/statsd/spec/configure_spec.rb +++ b/statsd/spec/configure_spec.rb @@ -31,6 +31,9 @@ conf << " token: '123',\n" conf << " source: '#{stack_name.gsub!(' ', '-')}',\n" conf << " batchSize: 200\n" + conf << " },\n" + conf << " log: {\n" + conf << " backend: 'syslog'\n" conf << " }\n" conf << "}\n" diff --git a/statsd/templates/default/easybib-config.js.erb b/statsd/templates/default/easybib-config.js.erb index 99e03654b..38cc39585 100644 --- a/statsd/templates/default/easybib-config.js.erb +++ b/statsd/templates/default/easybib-config.js.erb @@ -8,5 +8,8 @@ token: '<%= @metrics["api_key"] -%>', source: '<%= @cluster_name -%>', batchSize: <%= @metrics["batch"] %> + }, + log: { + backend: 'syslog' } }