summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJulien Dessaux2024-10-13 16:10:22 +0200
committerJulien Dessaux2024-10-13 16:10:22 +0200
commit71702002cfdad4cf4a55a92c03ac660903a65744 (patch)
tree40e1d926c9d06f3cf29235eed173b7726db40a09 /cmd
parentfix(tfstated): add unlock handler tests (diff)
downloadtfstated-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.go2
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)