Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) update clj-parent to latest, avoid expensive logging #29

Merged

Conversation

jonathannewman
Copy link
Contributor

This updates clj-parent to 4.20 and removes an exclusion for clojure.

It also conditionalizes some potentially expensive logging when the logging levels aren't used. Specifically it avoids a doseq and count of the events (which can be thousands as seen in the field) when debug isn't enabled, and avoids a potentially expensive print-to-string when trace isn't enabled.

This updates clj-parent to 4.20 and removes an exclusion for clojure.

It also conditionalizes some potentially expensive logging when
the logging levels aren't used. Specifically it avoids a `doseq` and
`count` of the events (which can be thousands as seen in the field) when
debug isn't enabled, and avoids a potentially expensive `print-to-string`
when trace isn't enabled.
@jonathannewman jonathannewman requested review from a team as code owners May 14, 2024 23:58
Copy link
Contributor

@steveax steveax left a comment

Choose a reason for hiding this comment

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

👍

@steveax steveax merged commit 2c26734 into puppetlabs:main May 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants