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

Enable debug logging only if JOFT_DEBUG env var is defined #30

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

frenzymadness
Copy link
Collaborator

When running multiple templates in a loop, the amount of logs printed out is kinda annoying. This makes the default logging level higher with an easy way to enable debug back.

@mcurlej
Copy link
Owner

mcurlej commented Sep 10, 2024

LGTM, can you add this option as a part of the documentation? like just a quick section about logging and how to set up the log level with the global var. Thanks!

@frenzymadness
Copy link
Collaborator Author

I don't see an existing section in the docs that would fit. Is a sentence in readme enough?

@mcurlej
Copy link
Owner

mcurlej commented Sep 10, 2024

Sure

@frenzymadness
Copy link
Collaborator Author

Done

@mcurlej mcurlej merged commit 70eac85 into mcurlej:main Sep 11, 2024
4 checks passed
@frenzymadness frenzymadness deleted the debug_logging branch September 11, 2024 12:39
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