From 0fcfa5d54b166559c0ca31932a71a7eabb79c72c Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:03:10 -0700 Subject: Use client logger --- hotline/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/server.go') diff --git a/hotline/server.go b/hotline/server.go index 9cec83b..a91e1c8 100644 --- a/hotline/server.go +++ b/hotline/server.go @@ -638,7 +638,7 @@ func (s *Server) handleNewConnection(ctx context.Context, conn net.Conn, remoteA // into a slice of transactions var transactions []Transaction if transactions, tReadlen, err = readTransactions(tranBuff); err != nil { - c.Server.Logger.Errorw("Error handling transaction", "err", err) + c.logger.Errorw("Error handling transaction", "err", err) } // iterate over all the transactions that were parsed from the byte slice and handle them -- cgit