DefGuard/defguard

Replace user id in logs with username

Open

#719 opened on Aug 13, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (107 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (2,779 stars)
PR merge metrics
 (PR metrics pending)

Description

If accessible, a username should be displayed in logs (info level) at all times in favor of the user id. If the user object is not accessible, a minimal sql query should be made to access it. This may be also expanded to other objects we refer to by id, which may be confusing for the end user.

Contributor guide