Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

push job log retention policy #213

Open
AnamikaN opened this issue Feb 28, 2020 · 0 comments
Open

push job log retention policy #213

AnamikaN opened this issue Feb 28, 2020 · 0 comments

Comments

@AnamikaN
Copy link

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant