From de062e54ff677376d1818adb937fd0aac8ef929e Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:29:18 -0400 Subject: [PATCH] Log control service command --- pkg/controlsvc/controlsvc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controlsvc/controlsvc.go b/pkg/controlsvc/controlsvc.go index b219719cc..8e1c4859f 100644 --- a/pkg/controlsvc/controlsvc.go +++ b/pkg/controlsvc/controlsvc.go @@ -274,6 +274,7 @@ func (s *Server) RunControlSession(conn net.Conn) { if len(cmdBytes) == 0 { continue } + s.nc.GetLogger().Debug("Control service received command: %s\n", string(cmdBytes)) var cmd string var params string var jsonData map[string]interface{}