Skip to content

Commit

Permalink
feat: Use JJ_LOG instead of RUST_LOG for tracing configuration
Browse files Browse the repository at this point in the history
Prevents name clashes when working on other Rust projects.
  • Loading branch information
theduke committed Aug 27, 2024
1 parent aa606b2 commit 8360ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/cli_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub struct TracingSubscription {
}

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

/// Initializes tracing with the default configuration. This should be
/// called as early as possible.
Expand Down

0 comments on commit 8360ca3

Please sign in to comment.