diff options
author | Julien Dessaux | 2024-10-13 16:10:22 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-10-13 16:10:22 +0200 |
commit | 71702002cfdad4cf4a55a92c03ac660903a65744 (patch) | |
tree | 40e1d926c9d06f3cf29235eed173b7726db40a09 /cmd | |
parent | fix(tfstated): add unlock handler tests (diff) | |
download | tfstated-71702002cfdad4cf4a55a92c03ac660903a65744.tar.gz tfstated-71702002cfdad4cf4a55a92c03ac660903a65744.tar.bz2 tfstated-71702002cfdad4cf4a55a92c03ac660903a65744.zip |
feat(logger): implement optional body logging
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/tfstated/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tfstated/main.go b/cmd/tfstated/main.go index 57c4461..5ead1ed 100644 --- a/cmd/tfstated/main.go +++ b/cmd/tfstated/main.go @@ -51,7 +51,7 @@ func run( httpServer := &http.Server{ Addr: net.JoinHostPort(config.Host, config.Port), - Handler: logger.Middleware(mux), + Handler: logger.Middleware(mux, false), } go func() { log.Printf("listening on %s\n", httpServer.Addr) |