mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 00:05:50 +03:00
[GH-ISSUE #600] [Document] more log verbosity control #220
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shizunge on GitHub (Jun 8, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/600
I only found 'LLDAP_VERBOSE' or verbose in the config file to change the log verbosity. It seem can take only true or false.
Could we add a 'loglevel' config switch for better control please? which can take e.g. debug info warning error. I want to suppress the info level log, which is default on.
It may already be there. But I did not find it in any documents.
Thanks
@nitnelave commented on GitHub (Jun 9, 2023):
It's not documented, but you can use the
RUST_LOGenv variable. If you set it towarnit should get rid of the info logs. See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html for more info, you can do some more advanced filtering.