Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Fix: actually use node-syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Mar 9, 2016
1 parent 5bbd6e8 commit d89b0e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions statsd/spec/configure_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
3 changes: 3 additions & 0 deletions statsd/templates/default/easybib-config.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
token: '<%= @metrics["api_key"] -%>',
source: '<%= @cluster_name -%>',
batchSize: <%= @metrics["batch"] %>
},
log: {
backend: 'syslog'
}
}

0 comments on commit d89b0e4

Please sign in to comment.