mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #201] [MERGED] Implement tracing logging #611
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#611
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/201
Author: @nitnelave
Created: 6/30/2022
Status: ✅ Merged
Merged: 6/30/2022
Merged by: @nitnelave
Base:
main← Head:logging📝 Commits (3)
539dd46server: Add tracing loggingdb424b7server: refactor auth_service to use Resultsb495d1aapp: propagate change events📊 Changes
28 files changed (+728 additions, -417 deletions)
View changed files
📝
Cargo.lock(+44 -6)📝
app/src/components/change_password.rs(+2 -2)📝
app/src/components/create_group.rs(+2 -2)📝
app/src/components/create_user.rs(+2 -2)📝
app/src/components/group_details.rs(+2 -2)📝
app/src/components/group_table.rs(+2 -2)📝
app/src/components/login.rs(+2 -2)📝
app/src/components/logout.rs(+2 -2)📝
app/src/components/remove_user_from_group.rs(+2 -2)📝
app/src/components/reset_password_step1.rs(+2 -2)📝
app/src/components/reset_password_step2.rs(+2 -2)📝
app/src/components/user_details.rs(+2 -2)📝
app/src/components/user_details_form.rs(+2 -2)📝
app/src/components/user_table.rs(+2 -2)📝
server/Cargo.toml(+12 -2)📝
server/src/domain/sql_backend_handler.rs(+46 -29)📝
server/src/domain/sql_opaque_handler.rs(+9 -12)📝
server/src/infra/auth_service.rs(+257 -219)📝
server/src/infra/db_cleaner.rs(+14 -15)📝
server/src/infra/graphql/mutation.rs(+62 -2)...and 8 more files
📄 Description
This PR instruments the code to add tracing events everywhere relevant. The events are then printed as a tree by tracing-forest, leading to a much-improved debug experience.
Fixes #17
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.