summaryrefslogtreecommitdiff
path: root/lib/chef/util/selinux.rb
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/util/selinux.rb
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/util/selinux.rb')
-rw-r--r--lib/chef/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/selinux.rb b/lib/chef/util/selinux.rb
index 8b4c38754c..0d973b0376 100644
--- a/lib/chef/util/selinux.rb
+++ b/lib/chef/util/selinux.rb
@@ -51,7 +51,7 @@ class Chef
restorecon_flags = [ "-R" ]
restorecon_flags << "-r" if recursive
restorecon_flags << file_path
- Chef::Log.debug("Restoring selinux security content with #{restorecon_path}")
+ Chef::Log.trace("Restoring selinux security content with #{restorecon_path}")
shell_out_compact!(restorecon_path, restorecon_flags)
else
Chef::Log.warn "Can not find 'restorecon' on the system. Skipping selinux security context restore."