Skip to content

Commit

Permalink
Merge pull request #51 from jdef/enable_syslog
Browse files Browse the repository at this point in the history
Support for sending consul logs to syslog
  • Loading branch information
johnbellone committed Oct 15, 2014
2 parents c1543cb + ff95176 commit f8f2cf1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ Installs and configures [Consul][1].
<td>Domain for service lookup dns queries</td>
<td><tt>.consul</tt></td>
</tr>
<tr>
<td><tt>['consul']['enable_syslog']</tt></td>
<td>Boolean</td>
<td>enables logging to syslog</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['consul']['log_level']</tt></td>
<td>String</td>
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache v2.0'
description 'Installs/Configures consul'
long_description 'Installs/Configures consul'
version '0.4.3'
version '0.4.4'

recipe 'consul', 'Installs and starts consul service.'
recipe 'consul::install_binary', 'Installs consul service from binary.'
Expand Down
2 changes: 1 addition & 1 deletion recipes/_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
end

copy_params = [
:bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr
:bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :enable_syslog
]
copy_params.each do |key|
if node['consul'][key]
Expand Down

0 comments on commit f8f2cf1

Please sign in to comment.