push job log retention policy
AnamikaN opened this issue · comments
I have below settings in my default.rb. Can i change settings for logging? Does the file in /var/log/chef path keep increasing everyday. Do we need to manually handle logging files for push job?
case node['platform_family']
when 'debian', 'rhel', 'suse', 'amazon'
default['push_jobs']['init_style'] = nil # auto detect based on system
default['push_jobs']['service_name'] = 'chef-push-jobs-client'
default['push_jobs']['chef']['include_timestamp'] = false
default['push_jobs']['chef']['client_key_path'] = '/etc/chef/client.pem'
default['push_jobs']['chef']['trusted_certs_path'] = '/etc/chef/trusted_certs'
default['push_jobs']['chef']['install_path'] = nil
default['push_jobs']['chef']['exec_name'] = nil
default['push_jobs']['logging_dir'] = '/var/log/chef'
end
default['push_jobs']['logging_level'] = 'info'