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

refactor!: remove logging #44

Merged
merged 1 commit into from
Jul 2, 2024
Merged

refactor!: remove logging #44

merged 1 commit into from
Jul 2, 2024

Conversation

Pscheidl
Copy link
Contributor

The log crate is now a dev dependency. Logging
only happens when running in the test scope - cfg(test). This eliminates the risk of logging being secretely enabled by other dependencies, revealing potential secrets.

@Pscheidl
Copy link
Contributor Author

Based on #34

@Pscheidl Pscheidl force-pushed the log-test-scope branch 2 times, most recently from 3a762f2 to 58044da Compare June 29, 2024 07:28
@Pscheidl
Copy link
Contributor Author

@Xuanwo looks like two jobs timed out before a suitable runner was a CV available. Would you mind restarting them ? TY.

@Xuanwo
Copy link
Owner

Xuanwo commented Jul 1, 2024

Hi, I feel like we can remove those log entirely.

They exists while developing, and I never hit a case when I need to read them to debug since 0.1.1 has been released.

Maybe this is the time.

@Pscheidl
Copy link
Contributor Author

Pscheidl commented Jul 1, 2024

That's the best solution really. I'll do that.

@Pscheidl Pscheidl changed the title refactor!: logging only in test scope refactor!: remove logging Jul 2, 2024
Removed logging completely.
This eliminates the risk of logging being secretely enabled
by other dependencies via the `log` feature, revealing potential secrets.
Copy link
Owner

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@Xuanwo Xuanwo merged commit c977af6 into Xuanwo:main Jul 2, 2024
5 of 7 checks passed
@Pscheidl Pscheidl deleted the log-test-scope branch August 1, 2024 20:10
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