8000 feat: extend request logs with auth & DB info by ibetitsmike · Pull Request #17304 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: extend request logs with auth & DB info #17304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 15, 2025
Merged
Prev Previous commit
lint fixes
  • Loading branch information
ibetitsmike committed Apr 15, 2025
commit 28dee4b64d43914e029b4bd88d0f6b0ce81ed5f9
4 changes: 2 additions & 2 deletions coderd/httpmw/loggermw/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ type SlogRequestLogger struct {
message string
start time.Time
// Protects actors map for concurrent writes.
mu sync.RWMutex
actors map[rbac.SubjectType]rbac.Subject
mu sync.RWMutex
actors map[rbac.SubjectType]rbac.Subject
}

var _ RequestLogger = &SlogRequestLogger{}
Expand Down
Loading
0