Skip to content

Commit

Permalink
[DEVEX-2390]: Allow for higher log levels in release mode (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad authored Dec 3, 2024
1 parent 434aa4e commit 94b33d8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ and this project adheres to

---

## [0.14.1] - 2024-12-03

### Changed

- No longer set the `tracing` max level features. This allows you to enable more verbose logging on runtime via the `RUST_LOG` environment variable.
This should not affect most users, as the env filter by default is already set to `error`. In order to restore previous behavior you can enable the `tracing` features yourself
```
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]}
```

---

## [0.14.0] - 2024-12-03

### Updated
Expand Down Expand Up @@ -270,7 +282,9 @@ jaeger:
COLLECTOR_OTLP_HTTP_HOST_PORT: 55681
```
[Unreleased]: https://github.com/primait/prima_tracing.rs/compare/0.14.0...HEAD
[Unreleased]: https://github.com/primait/prima_tracing.rs/compare/0.14.1...HEAD
[0.14.1]: https://github.com/primait/prima_tracing.rs/compare/0.14.0...0.14.1
[0.14.0]: https://github.com/primait/prima_tracing.rs/compare/0.13.1...0.14.0
[0.13.1]: https://github.com/primait/prima_tracing.rs/compare/0.13.0...0.13.1
[0.13.0]: https://github.com/primait/prima_tracing.rs/compare/0.12.0...0.13.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
name = "prima-tracing"
readme = "README.md"
repository = "https://github.com/primait/prima_tracing.rs"
version = "0.14.0"
version = "0.14.1"

[features]
default = []
Expand Down Expand Up @@ -40,7 +40,7 @@ required-features = ["json-logger"]
opentelemetry = {version = "0.27", optional = true}
opentelemetry-otlp = {version = "0.27", features = ["http-proto", "reqwest-client"], default-features = false, optional = true}
opentelemetry_sdk = {version = "0.27", features = ["rt-tokio"], optional = true}
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]}
tracing = {version = "0.1"}
tracing-log = {version = "0.2"}
tracing-opentelemetry = {version = "0.28", optional = true}
tracing-subscriber = {version = "0.3", features = ["env-filter"]}
Expand Down

0 comments on commit 94b33d8

Please sign in to comment.