Skip to content

Commit 94b33d8

Browse files
authored
[DEVEX-2390]: Allow for higher log levels in release mode (#128)
1 parent 434aa4e commit 94b33d8

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ and this project adheres to
88

99
---
1010

11+
## [0.14.1] - 2024-12-03
12+
13+
### Changed
14+
15+
- No longer set the `tracing` max level features. This allows you to enable more verbose logging on runtime via the `RUST_LOG` environment variable.
16+
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
17+
```
18+
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]}
19+
```
20+
21+
---
22+
1123
## [0.14.0] - 2024-12-03
1224

1325
### Updated
@@ -270,7 +282,9 @@ jaeger:
270282
COLLECTOR_OTLP_HTTP_HOST_PORT: 55681
271283
```
272284
273-
[Unreleased]: https://github.com/primait/prima_tracing.rs/compare/0.14.0...HEAD
285+
286+
[Unreleased]: https://github.com/primait/prima_tracing.rs/compare/0.14.1...HEAD
287+
[0.14.1]: https://github.com/primait/prima_tracing.rs/compare/0.14.0...0.14.1
274288
[0.14.0]: https://github.com/primait/prima_tracing.rs/compare/0.13.1...0.14.0
275289
[0.13.1]: https://github.com/primait/prima_tracing.rs/compare/0.13.0...0.13.1
276290
[0.13.0]: https://github.com/primait/prima_tracing.rs/compare/0.12.0...0.13.0

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
name = "prima-tracing"
77
readme = "README.md"
88
repository = "https://github.com/primait/prima_tracing.rs"
9-
version = "0.14.0"
9+
version = "0.14.1"
1010

1111
[features]
1212
default = []
@@ -40,7 +40,7 @@ required-features = ["json-logger"]
4040
opentelemetry = {version = "0.27", optional = true}
4141
opentelemetry-otlp = {version = "0.27", features = ["http-proto", "reqwest-client"], default-features = false, optional = true}
4242
opentelemetry_sdk = {version = "0.27", features = ["rt-tokio"], optional = true}
43-
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]}
43+
tracing = {version = "0.1"}
4444
tracing-log = {version = "0.2"}
4545
tracing-opentelemetry = {version = "0.28", optional = true}
4646
tracing-subscriber = {version = "0.3", features = ["env-filter"]}

0 commit comments

Comments
 (0)