Update soon deprecated attribute
logs_enabled replaces log_enabled since 6.0.0-rc.1
MODIFY
templates/default/datadog.yaml.erb
templates/default/datadog.yaml.erb
@@ -92,7 +92,11 @@ agent_config = @extra_config.merge({
log_file: ::File.join(node['datadog']['log_file_directory'], "agent.log"),
# log agent options
+ if node['datadog']['agent6']
+ logs_enabled: node['datadog']['enable_logs_agent'],
+ else
log_enabled: node['datadog']['enable_logs_agent'],
+ end
# process agent options
process_config: {

Update soon deprecated attribute (#513)

logs_enabled replaces log_enabled since 6.0.0-rc.1