mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 00:05:50 +03:00
[PR #1025] [MERGED] server: Remove session-wide logging, add session_uuid to message logs #1079
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#1079
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?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/1025
Author: @nitnelave
Created: 11/4/2024
Status: ✅ Merged
Merged: 11/4/2024
Merged by: @nitnelave
Base:
main← Head:logging📝 Commits (1)
f5fbb8bserver: Remove session-wide logging, add session_uuid to message logs📊 Changes
2 files changed (+27 additions, -2 deletions)
View changed files
📝
server/src/infra/ldap_handler.rs(+21 -0)📝
server/src/infra/ldap_server.rs(+6 -2)📄 Description
When clients keep long-running LDAP sessions, the logs get endlessly buffered, turning into a slow memory leak. This change removes the session-long span, in favor of adding a session UUID to identify requests from the same UUID.
Sample non-verbose log:
Sample verbose log:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.