Skip to content

print "Loading facts" just once - #656

Merged
bastelfreak merged 3 commits into
mainfrom
logging
Sep 10, 2026
Merged

bastelfreak merged 3 commits into
mainfrom
logging

Conversation

@bastelfreak

Copy link
Copy Markdown
Contributor

in the past, we printed "Loading facts" for every directory where we search for facts. This just created a bunch of noise.

Short description

Checklist

I have:

@bastelfreak bastelfreak added the bug Something isn't working label Sep 8, 2026
@bastelfreak
bastelfreak force-pushed the logging branch 2 times, most recently from ec26499 to d22a7d5 Compare September 8, 2026 11:38

@miharp miharp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly claude suggesting and me validating it works as described.

Comment thread lib/puppet/indirector/facts/facter.rb Outdated
Comment thread lib/puppet/indirector/facts/facter.rb Outdated
Comment thread lib/puppet/indirector/facts/facter.rb Outdated
in the past, we printed "Loading facts" for every directory where we
search for facts. This just created a bunch of noise.

Co-authored-by: Michael Harp <mike@mikeharp.com>
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
bastelfreak and others added 2 commits September 8, 2026 16:19
Co-authored-by: Michael Harp <mike@mikeharp.com>
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
Co-authored-by: Michael Harp <mike@mikeharp.com>
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
@bastelfreak

Copy link
Copy Markdown
Contributor Author

@miharp could you have a second look please?

@miharp miharp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once merged I will follow up with a PR adding coverage for the new logging behavior to keep this small and focused.

@bastelfreak
bastelfreak merged commit f3a07ba into main Sep 10, 2026
25 checks passed
@bastelfreak
bastelfreak deleted the logging branch September 10, 2026 11:45
@bastelfreak bastelfreak added the backport 8.x backports the merged PR to the 8.x branch label Sep 10, 2026
@OpenVoxProjectBot

Copy link
Copy Markdown
Contributor

Successfully created backport PR for 8.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 8.x backports the merged PR to the 8.x branch bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants