Cookbooks
bind
documentation
Bind Logging Category

Back to resource list

bind_logging_category

This resource maps BIND logging categories to logging channels.

Actions

ActionDescription
:createCreates a BIND logging category

Properties

NameTypeDefaultDescription
bind_configStringdefaultName of the bind_config resource to notify actions on
categoryString 1name propertyName of the BIND logging category to send to the specified channels
channelsArray, StringrequiredArray of names (or single name) of channels to send the category of logs to

1 Must be a valid BIND logging category`

Examples

bind_logging_category 'queries' do
  channels ['syslog', 'querylog']
end
 
bind_logging_category 'xfer-in' do
  channels 'syslog'
end