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

fix: reduce tracing level for reflink #475

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

baszalmstra
Copy link
Collaborator

When reflinking is not supported by the filesystem users would be spammed with error logs. I've reduced their level to debug now.

@wolfv
Copy link
Contributor

wolfv commented Jan 11, 2024

Are these removed in production builds? I wonder about performance. Additionally, maybe it would be enough to log this once?

@baszalmstra
Copy link
Collaborator Author

Yeah I think it would be better to check these things up front but I created this PR now to unstuck a pixi 0.11.2 release. Ill look at a proper fix later.

@baszalmstra
Copy link
Collaborator Author

I think the overhead of skipped log statements is very little but Im not certain.

@wolfv
Copy link
Contributor

wolfv commented Jan 11, 2024

Supposedly we could use #[cfg(debug_assertions)] to remove the statements in release builds. I'll merge this for now :)

@wolfv wolfv merged commit 34a40c1 into conda:main Jan 11, 2024
13 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