Skip to content

Commit

Permalink
feat(access-logging): Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebruijn committed Jun 11, 2024
1 parent a10a911 commit 6ecd39f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/business/rules/accesslogging/accesslogging.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ func NewAccessLogging(cfg Config, log *slog.Logger) *AccessLogging {
headers[header] = true
}

log.WithGroup("access-logging")

return &AccessLogging{
log: log,
log: log.WithGroup("access-logging"),
enabled: cfg.Enabled,
includeHeaders: headers,
includeOperationName: cfg.IncludeOperationName,
Expand Down

0 comments on commit 6ecd39f

Please sign in to comment.