Skip to content

Commit

Permalink
Clean up log options
Browse files Browse the repository at this point in the history
  • Loading branch information
tparker00 committed Sep 1, 2024
1 parent 569878b commit 15d7096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ func New(config *config.Config) http.Handler {

// Logger
logger := httplog.NewLogger("bws-cache", httplog.Options{
// JSON: true,
JSON: true,
LogLevel: slog.LevelInfo,
Concise: true,
RequestHeaders: true,
MessageFieldName: "message",
TimeFieldFormat: time.RFC850,
TimeFieldFormat: time.RFC3339,
Tags: map[string]string{
"version": "v0.1.8",
"env": "prod",
Expand Down

0 comments on commit 15d7096

Please sign in to comment.