From 230d8e757cd6c9eaa04e987321c0095112c705d1 Mon Sep 17 00:00:00 2001 From: donoghuc Date: Thu, 10 Aug 2023 14:17:16 -0700 Subject: [PATCH] (GH-3217) Only log compiled catalogs at trace level Previously compiled catalogs would be logged per target at INFO level. This clogs up logs and can expose Sensitive data in catalogs. This commit moves logging of compiled catalogs to the TRACE log level only. !bug * **Only log compiled catalogs at trace level** ([#3217](#3217)) Previously compiled catalogs would be logged per target at INFO level. This clogs up logs and can expose Sensitive data in catalogs. This commit moves logging of compiled catalogs to the TRACE log level only. --- lib/bolt/applicator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bolt/applicator.rb b/lib/bolt/applicator.rb index 3041bee24e..eaf4d0da0e 100644 --- a/lib/bolt/applicator.rb +++ b/lib/bolt/applicator.rb @@ -256,7 +256,7 @@ def apply_ast(raw_ast, targets, options, plan_vars = {}) futures = targets.map do |target| Concurrent::Future.execute(executor: @pool) do Thread.current[:name] ||= Thread.current.name - @executor.with_node_logging("Compiling manifest block", [target]) do + @executor.with_node_logging("Compiling manifest block", [target], :trace) do compile(target, scope) end end