[GH-ISSUE #600] [Document] more log verbosity control #220

Open
opened 2026-02-27 08:15:57 +03:00 by kerem · 1 comment
Owner

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

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
Author
Owner

@nitnelave commented on GitHub (Jun 9, 2023):

It's not documented, but you can use the RUST_LOG env variable. If you set it to warn it 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.

<!-- gh-comment-id:1584167579 --> @nitnelave commented on GitHub (Jun 9, 2023): It's not documented, but you can use the `RUST_LOG` env variable. If you set it to `warn` it 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#220
No description provided.