diff --git a/p2p/pkg/apiserver/middleware.go b/p2p/pkg/apiserver/middleware.go index b8f918ccb..e9ab1499d 100644 --- a/p2p/pkg/apiserver/middleware.go +++ b/p2p/pkg/apiserver/middleware.go @@ -41,8 +41,8 @@ func newAccessLogHandler(log *slog.Logger) func(http.Handler) http.Handler { start := time.Now() h.ServeHTTP(recorder, req) log.Info("api access", - "status", recorder.status, - "method", req.Method, + "http_status", recorder.status, + "http_method", req.Method, "path", req.URL.Path, "duration", time.Since(start), ) diff --git a/x/contracts/txmonitor/txmonitor.go b/x/contracts/txmonitor/txmonitor.go index ea433692b..d07279702 100644 --- a/x/contracts/txmonitor/txmonitor.go +++ b/x/contracts/txmonitor/txmonitor.go @@ -246,7 +246,7 @@ func (m *Monitor) Sent(ctx context.Context, tx *types.Transaction) { } m.logger.Debug("transaction status", "txHash", tx.Hash(), - "status", status, + "txStatus", status, ) }() }