From afc43e67f9a0411aac3aaf88207c4241bef62ef6 Mon Sep 17 00:00:00 2001 From: till Date: Mon, 26 Oct 2015 15:49:28 +0100 Subject: [PATCH] Fix: actually use node-syslog --- statsd/spec/configure_spec.rb | 3 +++ statsd/templates/default/easybib-config.js.erb | 3 +++ 2 files changed, 6 insertions(+) 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' } }