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

feat: Use JJ_LOG instead of RUST_LOG for tracing configuration #4350

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

theduke
Copy link

@theduke theduke commented Aug 27, 2024

Prevents clashes when working on other Rust projects.

Closes #4219

Copy link

google-cla bot commented Aug 27, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Prevents name clashes when working on other Rust projects.
@theduke
Copy link
Author

theduke commented Aug 27, 2024

This should probably be documented somewhere, but not sure where the best place is.

@martinvonz
Copy link
Owner

This should probably be documented somewhere, but not sure where the best place is.

Perhaps docs/contributing.md is the best place we have right now

@@ -189,7 +189,7 @@ pub struct TracingSubscription {
}

impl TracingSubscription {
const ENV_VAR_NAME: &str = "JJ_LOG";
const ENV_VAR_NAME: &'static str = "JJ_LOG";
Copy link
Owner

Choose a reason for hiding this comment

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

please squash this into the parent commit

@thoughtpolice
Copy link
Collaborator

thoughtpolice commented Sep 3, 2024

I think this would be nice to get in before the 0.21 release, which will happen tomorrow. @theduke Can you squash these commits and re-push? If not I'm happy to do so (and retain your authorship!) and refile them myself, since we disallow the "Squash" button on GitHub.

@samueltardieu
Copy link
Collaborator

Hi @theduke. Do you still plan to work on this?

@theduke
Copy link
Author

theduke commented Sep 18, 2024

Sorry I dropped the ball here, will get it fixed today.

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.

FR: Switch from RUST_LOG to JJ_LOG
4 participants