diff options
author | sersut <serdar@opscode.com> | 2013-02-15 16:47:08 -0800 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-02-15 16:47:08 -0800 |
commit | a42583a5b691c3b41ccac941b7bc948aa4ea28cd (patch) | |
tree | 9d836d008c059d3479184b4653415d26778087b8 | |
parent | af188ff49cf8a9735b6cd90d080aeb45c845c98f (diff) | |
download | chef-a42583a5b691c3b41ccac941b7bc948aa4ea28cd.tar.gz |
Add a log message to differentiate chef-client runs initiated by the service from the manual runs.
-rw-r--r-- | lib/chef/application/windows_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb index 4e32867f2f..5ece03b3a8 100644 --- a/lib/chef/application/windows_service.rb +++ b/lib/chef/application/windows_service.rb @@ -91,6 +91,7 @@ class Chef # run chef-client only if service is in RUNNING state next if state != RUNNING + Chef::Log.info("Chef-Client service is starting a chef-client run...") run_chef_client rescue SystemExit => e # Do not raise any of the errors here in order to |