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

[DEVEX-2390]: Allow for higher log levels in release mode #128

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading