only allow up to info level logging on release builds
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
c5afc6bf98
commit
23ee479062
2 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,8 @@ features = [
|
||||||
[dependencies.tracing]
|
[dependencies.tracing]
|
||||||
version = "0.1.40"
|
version = "0.1.40"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
features = ["max_level_trace", "release_max_level_info"]
|
||||||
|
|
||||||
[dependencies.tracing-subscriber]
|
[dependencies.tracing-subscriber]
|
||||||
version = "0.3.18"
|
version = "0.3.18"
|
||||||
features = ["env-filter"]
|
features = ["env-filter"]
|
||||||
|
|
|
@ -218,6 +218,7 @@ url_preview_check_root_domain = false
|
||||||
|
|
||||||
# max log level for conduwuit. allows debug, info, warn, or error
|
# max log level for conduwuit. allows debug, info, warn, or error
|
||||||
# see also: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
# see also: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
||||||
|
# For release builds, the maximum log level for conduwuit is info. For debug builds, it is "trace".
|
||||||
# Defaults to "warn"
|
# Defaults to "warn"
|
||||||
#log = "warn"
|
#log = "warn"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue