summaryrefslogtreecommitdiff
path: root/cmd/authzd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/authzd/main.go')
-rw-r--r--cmd/authzd/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/authzd/main.go b/cmd/authzd/main.go
index 65a4672..35f95a2 100644
--- a/cmd/authzd/main.go
+++ b/cmd/authzd/main.go
@@ -22,12 +22,12 @@ func main() {
signal.Notify(c, syscall.SIGINT, syscall.SIGTERM)
go func() {
<-c
- pls.LogNow(ctx, log.Fields{"status": "goodbye"})
server.GracefulStop()
+ logger.Log().Str("status", "goodbye").Send()
}()
defer server.GracefulStop()
- pls.LogNow(ctx, log.Fields{"status": "ready"})
+ logger.Log().Str("status", "ready").Send()
socket := x.Must(net.Listen("tcp", ":10003"))
pls.LogErrorNow(ctx, server.Serve(socket))
}