diff options
author | Tim Smith <tsmith@chef.io> | 2020-09-04 18:00:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 18:00:28 -0700 |
commit | 801d53a5828af958c736855d4cd7463b6cda822d (patch) | |
tree | 70254ae5de6c3423f5f4e831e766e1535299b01c | |
parent | 2bfc9106cfa6a3df12204bd255b5f7007c2f8f30 (diff) | |
parent | 96507624895a549384a5046e0dc309fb064d2f85 (diff) | |
download | chef-801d53a5828af958c736855d4cd7463b6cda822d.tar.gz |
Merge pull request #10389 from chef/apply_logging
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/application/apply.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb index 8d64c48102..83e28880f9 100644 --- a/lib/chef/application/apply.rb +++ b/lib/chef/application/apply.rb @@ -77,6 +77,11 @@ class Chef::Application::Apply < Chef::Application description: "Set the log level (trace, debug, info, warn, error, fatal).", proc: lambda { |l| l.to_sym } + option :log_location_cli, + short: "-L LOGLOCATION", + long: "--logfile LOGLOCATION", + description: "Set the log file location, defaults to STDOUT - recommended for daemonizing." + option :always_dump_stacktrace, long: "--[no-]always-dump-stacktrace", boolean: true, |