summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-23 13:05:13 +0000
committerTim Smith <tsmith@chef.io>2018-03-26 10:34:39 -0700
commit97c1dd6f1cac6d97e85d05039cad8b28596141ba (patch)
treed8a97c0f7016986a2cc264aa50ae345638ed026c /lib/chef/event_dispatch
parent1b81f35e023bcdc87e410c641545e849298de5c3 (diff)
downloadchef-97c1dd6f1cac6d97e85d05039cad8b28596141ba.tar.gz
mechanical conversion of most debug log statements to trace
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/dsl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/event_dispatch/dsl.rb b/lib/chef/event_dispatch/dsl.rb
index 999d536fbe..0a9c082fc1 100644
--- a/lib/chef/event_dispatch/dsl.rb
+++ b/lib/chef/event_dispatch/dsl.rb
@@ -35,10 +35,10 @@ class Chef
# and associated event dispatcher is set, else fallback to
# Chef::Config[:event_handlers]
if Chef.run_context && Chef.run_context.events
- Chef::Log.debug("Registering handler '#{name}' using events api")
+ Chef::Log.trace("Registering handler '#{name}' using events api")
Chef.run_context.events.register(handler)
else
- Chef::Log.debug("Registering handler '#{name}' using global config")
+ Chef::Log.trace("Registering handler '#{name}' using global config")
Chef::Config[:event_handlers] << handler
end
end