Skip to content

Commit 686f4db

Browse files
committed
referenced httplog while creating RequestLoggerContext
1 parent c384706 commit 686f4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/httpmw/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func Logger(log slog.Logger) func(next http.Handler) http.Handler {
3737

3838
logContext := &RequestLoggerContext{
3939
Fields: map[string]any{},
40-
log: &slog.Logger{},
40+
log: &httplog,
4141
written: false,
4242
}
4343
defer func() {

0 commit comments

Comments
 (0)