diff options
author | Matt Wrock <matt@mattwrock.com> | 2015-11-05 08:33:38 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2015-11-05 08:33:38 -0800 |
commit | 20728416579f40c30e0a9c08bdfd86ecd7391cbe (patch) | |
tree | ab16e94ea652767bd5054cec5f9bb787e9151d90 /lib/chef/application/windows_service_manager.rb | |
parent | f474f98750fe70e0264bf80793e578b739c08206 (diff) | |
download | chef-20728416579f40c30e0a9c08bdfd86ecd7391cbe.tar.gz |
windows service uses log file
location from config if none is given on commandline
Diffstat (limited to 'lib/chef/application/windows_service_manager.rb')
-rw-r--r-- | lib/chef/application/windows_service_manager.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/application/windows_service_manager.rb b/lib/chef/application/windows_service_manager.rb index 44526c1720..d969896025 100644 --- a/lib/chef/application/windows_service_manager.rb +++ b/lib/chef/application/windows_service_manager.rb @@ -1,6 +1,6 @@ # # Author:: Seth Chisamore (<schisamo@opscode.com>) -# Copyright:: Copyright (c) 2011 Opscode, Inc. +# Copyright:: Copyright (c) 2011-2015 Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -51,8 +51,7 @@ class Chef option :log_location, :short => "-L LOGLOCATION", :long => "--logfile LOGLOCATION", - :description => "Set the log file location for chef-service", - :default => "#{ENV['SYSTEMDRIVE']}/chef/client.log" + :description => "Set the log file location for chef-service" option :help, :short => "-h", |