cookbook-openstack-common/templates/default/logging.conf.erb
Mark Vanderwiel ea8dfaa401 Initial kilo updates
MetaData changes
- bump metadata versions to 11

Gemfile changes
- bump robocop to 0.29.1
- bump chef to 11.18.6  close to 12 but not quite (need infra changes for 12)
- bump berks to 3.2.1 to get fix for running twice (destination already exists)

Rubocop changes
- add .robucop_todo.yml for future cleanup
    - rubocop --auto-gen-config and add an inherit_from: .rubocop_todo.yml in your .rubocop.yml
- add .bundle/**/* to .rubocop.yml
- add .cookbooks/**/* to robocop.yml
- fixup berks-cookbooks/** with /**/*

Changelog changes
- delete Changelog.rb

Other codes changes
- change juno to kilo where appropriate
- cleanup any obvious old deprecated code

Change-Id: I146aa7f7ba4024115c1297103e176a72336fbe5d
Partial-Bug: #1426424
2015-03-04 08:30:52 -06:00

39 lines
834 B
Plaintext

[loggers]
keys=<%= (node["openstack"]["logging"]['loggers'].keys).join(',') %>
[formatters]
keys=<%= node["openstack"]["logging"]['formatters'].keys.join(',') %>
[handlers]
keys=<%= node["openstack"]["logging"]['handlers'].keys.join(',') %>
## FORMATTERS ##
<% node["openstack"]["logging"]['formatters'].each do |section, options| %>
[formatter_<%= section %>]
<% options.each do |key, value| %>
<%= key %>=<%= value %>
<% end %>
<% end %>
## LOGGERS ##
<% node["openstack"]["logging"]['loggers'].each do |section, options| %>
[logger_<%= section %>]
<% options.each do |key, value| %>
<%= key %>=<%= value %>
<% end %>
<% end %>
## HANDLERS ##
<% node["openstack"]["logging"]['handlers'].each do |section, options| %>
[handler_<%= section %>]
<% options.each do |key, value| %>
<%= key %>=<%= value %>
<% end %>
<% end %>